From 7eee39c8c4390cf696589347ec910e679f184a1d Mon Sep 17 00:00:00 2001 From: Ran Byron Date: Sun, 16 Jun 2019 11:15:47 +0300 Subject: [PATCH] Increase celery job timeout --- redash/metrics/celery.py | 3 +++ 1 file changed, 3 insertions(+) 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