##// END OF EJS Templates
config: Fix settings for celery tasks.
Martin Bornhold -
r626:1a043684 default
parent child Browse files
Show More
@@ -43,6 +43,10 b' CELERY_EAGER = False'
43 # link to config for pylons
43 # link to config for pylons
44 CONFIG = {}
44 CONFIG = {}
45
45
46 # Populated with the settings dictionary from application init in
47 # rhodecode.conf.environment.load_pyramid_environment
48 PYRAMID_SETTINGS = {}
49
46 # Linked module for extensions
50 # Linked module for extensions
47 EXTENSIONS = {}
51 EXTENSIONS = {}
48
52
@@ -145,6 +145,9 b' def load_pyramid_environment(global_conf'
145 settings_merged = global_config.copy()
145 settings_merged = global_config.copy()
146 settings_merged.update(settings)
146 settings_merged.update(settings)
147
147
148 # Store the settings to make them available to other modules.
149 rhodecode.PYRAMID_SETTINGS = settings_merged
150
148 # If this is a test run we prepare the test environment like
151 # If this is a test run we prepare the test environment like
149 # creating a test database, test search index and test repositories.
152 # creating a test database, test search index and test repositories.
150 # This has to be done before the database connection is initialized.
153 # This has to be done before the database connection is initialized.
General Comments 0
You need to be logged in to leave comments. Login now