Increased podcast download timeout to 1800 seconds
This commit is contained in:
parent
c2d0d855e3
commit
8a6f992aa5
|
@ -7,7 +7,7 @@ User=celery
|
||||||
Group=celery
|
Group=celery
|
||||||
Environment=RMQ_CONFIG_FILE=/etc/airtime/airtime.conf
|
Environment=RMQ_CONFIG_FILE=/etc/airtime/airtime.conf
|
||||||
WorkingDirectory=/srv/airtime
|
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
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -8,7 +8,7 @@ CELERY_BIN="/usr/local/bin/celery"
|
||||||
CELERY_APP="airtime-celery.tasks:celery"
|
CELERY_APP="airtime-celery.tasks:celery"
|
||||||
|
|
||||||
# Extra command-line arguments to the worker
|
# 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.
|
# %N will be replaced with the first part of the nodename.
|
||||||
CELERYD_LOG_FILE="/var/log/airtime/%N.log"
|
CELERYD_LOG_FILE="/var/log/airtime/%N.log"
|
||||||
|
|
Loading…
Reference in New Issue