We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57f5a64 commit aea839dCopy full SHA for aea839d
1 file changed
server/dive_server/__init__.py
@@ -96,10 +96,11 @@ def load(self, info):
96
)
97
98
plugin.getPlugin('worker').load(info)
99
- Setting().set(
100
- 'worker.api_url',
101
- os.environ.get('WORKER_API_URL', 'http://girder:8080/api/v1'),
102
- )
+ if not Setting().get('worker.api_url'):
+ Setting().set(
+ 'worker.api_url',
+ os.environ.get('WORKER_API_URL', 'http://girder:8080/api/v1'),
103
+ )
104
105
broker_url = os.environ.get('CELERY_BROKER_URL', 'amqp://guest:guest@rabbitmq')
106
if broker_url is None:
0 commit comments