From 5eecba06f3173ec8d163e34bff287a2b09e5829c Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Thu, 28 Mar 2019 13:17:14 +0000 Subject: Initiate a thread to handle registry To prevent the registry API timeout by offloading the time-consuming registry to a thread Change-Id: I1107bb7f3d9a11bdae4d0a5926f788bc2a534bda Issue-ID: MULTICLOUD-554 Signed-off-by: Bin Yang --- newton/newton/registration/views/registration.py | 1 + 1 file changed, 1 insertion(+) (limited to 'newton') diff --git a/newton/newton/registration/views/registration.py b/newton/newton/registration/views/registration.py index ea160cd0..313f3acf 100644 --- a/newton/newton/registration/views/registration.py +++ b/newton/newton/registration/views/registration.py @@ -34,3 +34,4 @@ class Registry(newton_registration.Registry): self.proxy_prefix = settings.MULTICLOUD_PREFIX self.aai_base_url = settings.AAI_BASE_URL self._logger = logger + super(Registry, self).__init__() -- cgit 1.2.3-korg