Fix timeouts
This commit is contained in:
@@ -30,7 +30,7 @@ services:
|
||||
podx-worker:
|
||||
build: ./app
|
||||
container_name: podx-worker
|
||||
command: ["rq", "worker", "-u", "redis://redis:6379/0", "--job-timeout", "14400", "default"]
|
||||
command: ["rq", "worker", "-u", "redis://redis:6379/0", "default"]
|
||||
env_file: [.env]
|
||||
environment:
|
||||
MEILI_URL: http://meili:7700
|
||||
@@ -103,6 +103,10 @@ services:
|
||||
LIBRARY_ROOT: /library
|
||||
TRANSCRIPT_ROOT: /transcripts
|
||||
SCAN_INTERVAL: 30
|
||||
JOB_TIMEOUT: ${JOB_TIMEOUT:-14400}
|
||||
JOB_TTL: ${JOB_TTL:-86400}
|
||||
RESULT_TTL: ${RESULT_TTL:-86400}
|
||||
FAILURE_TTL: ${FAILURE_TTL:-86400}
|
||||
volumes:
|
||||
- ${LIBRARY_HOST_DIR:-./library}:/library
|
||||
- ${TRANSCRIPTS_HOST_DIR:-./transcripts}:/transcripts
|
||||
|
Reference in New Issue
Block a user