Show More
@@ -68,6 +68,8 b' def run_task(task, *args, **kwargs):' | |||
|
68 | 68 | except socket.error, e: |
|
69 | 69 | if isinstance(e, IOError) and e.errno == 111: |
|
70 | 70 | log.debug('Unable to connect to celeryd. Sync execution') |
|
71 | global CELERY_ON | |
|
72 | CELERY_ON = False | |
|
71 | 73 | else: |
|
72 | 74 | log.error(traceback.format_exc()) |
|
73 | 75 | except KeyError, e: |
General Comments 0
You need to be logged in to leave comments.
Login now