Skip to content

Commit

Permalink
Increase celery job timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbena committed Jun 16, 2019
1 parent 8e38dcd commit 7eee39c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions redash/metrics/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7eee39c

Please sign in to comment.