diff --git a/heat_dashboard/content/template_generator/api.py b/heat_dashboard/content/template_generator/api.py index d40cb6db..ab2bb510 100644 --- a/heat_dashboard/content/template_generator/api.py +++ b/heat_dashboard/content/template_generator/api.py @@ -22,12 +22,12 @@ from heat_dashboard import api as heat_api try: - API_TIMEOUT = settings.API_TIMEOUT + API_TIMEOUT = settings.HEAT_TEMPLATE_GENERATOR_API_TIMEOUT except AttributeError: API_TIMEOUT = 60 try: - API_PARALLEL = settings.API_PARALLEL + API_PARALLEL = settings.HEAT_TEMPLATE_GENERATOR_API_PARALLEL except AttributeError: API_PARALLEL = 2 diff --git a/heat_dashboard/local_settings.d/_1699_orchestration_settings.py b/heat_dashboard/local_settings.d/_1699_orchestration_settings.py index 163b63a6..8d4b73f3 100644 --- a/heat_dashboard/local_settings.d/_1699_orchestration_settings.py +++ b/heat_dashboard/local_settings.d/_1699_orchestration_settings.py @@ -34,7 +34,7 @@ settings.POLICY_FILES.update({ # }) # Template Generator retrieve options API TIMEOUT -API_TIMEOUT = 60 +HEAT_TEMPLATE_GENERATOR_API_TIMEOUT = 60 # Template Generator retrieve options API PARALLEL LEVEL -API_PARALLEL = 2 +HEAT_TEMPLATE_GENERATOR_API_PARALLEL = 2