Merge pull request #622 from lblod/fix/producer-jobs-getting-stuck
Add timeout to producer's jobs
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
# Changelog
|
||||
## Unreleased
|
||||
- Fix betrokken lokale besturen links via migration [OP-3877]
|
||||
- Add timeout to producer jobs to prevent them staying stuck forever [OP-3815]
|
||||
|
||||
### Deploy notes
|
||||
In the docker-compose.override.yml, on PROD only, set the `error-alert` environment variable `EMAIL_TO:` to `support+lblod@redpencil.io`.
|
||||
|
||||
Then:
|
||||
```
|
||||
drc up -d error-alert delta-producer-background-jobs-initiator
|
||||
drc restart migrations
|
||||
drc restart resource cache
|
||||
```
|
||||
|
||||
@@ -385,6 +385,8 @@ services:
|
||||
image: lblod/delta-producer-background-jobs-initiator:1.0.1
|
||||
volumes:
|
||||
- ./config/delta-producer/background-job-initiator:/config
|
||||
environment:
|
||||
JOB_TIMEOUT_MINUTES: 1380 # 23h
|
||||
links:
|
||||
- db:database
|
||||
labels:
|
||||
|
||||
Reference in New Issue
Block a user