Increased podcast download timeout to 1800 seconds

This commit is contained in:
Robbt 2018-10-21 17:18:29 -04:00
parent c2d0d855e3
commit 8a6f992aa5
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ User=celery
Group=celery
Environment=RMQ_CONFIG_FILE=/etc/airtime/airtime.conf
WorkingDirectory=/srv/airtime
ExecStart=/usr/local/bin/celery worker -A airtime-celery.tasks:celery --time-limit=300 --concurrency=1 --config=celeryconfig -l INFO
ExecStart=/usr/local/bin/celery worker -A airtime-celery.tasks:celery --time-limit=1800 --concurrency=1 --config=celeryconfig -l INFO
Restart=always
[Install]

View File

@ -8,7 +8,7 @@ CELERY_BIN="/usr/local/bin/celery"
CELERY_APP="airtime-celery.tasks:celery"
# Extra command-line arguments to the worker
CELERYD_OPTS="--time-limit=300 --concurrency=1 --config=celeryconfig"
CELERYD_OPTS="--time-limit=1800 --concurrency=1 --config=celeryconfig"
# %N will be replaced with the first part of the nodename.
CELERYD_LOG_FILE="/var/log/airtime/%N.log"