diff --git a/redash/metrics/celery.py b/redash/metrics/celery.py index 6760d96b68..6b06e3a3a4 100644 --- a/redash/metrics/celery.py +++ b/redash/metrics/celery.py @@ -4,6 +4,9 @@ import socket import time +from celery.concurrency import asynpool +asynpool.PROC_ALIVE_TIMEOUT = 10.0 + from celery.signals import task_postrun, task_prerun from redash import settings, statsd_client from redash.utils import json_dumps