Merge pull request #622 from lblod/fix/producer-jobs-getting-stuck

Add timeout to producer's jobs
This commit is contained in:
Claire Lovisa
2026-08-25 13:41:49 +02:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -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
```

View File

@@ -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: