##// END OF EJS Templates
celery: don't disable celery if 1 task fails. This results in permanent...
marcink -
r2416:14bd0464 default
parent child Browse files
Show More
@@ -63,10 +63,6 b' def run_task(task, *args, **kwargs):'
63 "Exception while trying to run task asynchronous. "
63 "Exception while trying to run task asynchronous. "
64 "Fallback to sync execution.")
64 "Fallback to sync execution.")
65
65
66 # keep in mind there maybe a subtle race condition where something
67 # depending on rhodecode.CELERY_ENABLED
68 # will see CELERY_ENABLED as True before this has a chance to set False
69 rhodecode.CELERY_ENABLED = celery_is_up
70 else:
66 else:
71 log.debug('executing task %s:%s in sync mode', 'TASK', task)
67 log.debug('executing task %s:%s in sync mode', 'TASK', task)
72
68
General Comments 0
You need to be logged in to leave comments. Login now