Skip to content

add celery worker resilience for database connection timeouts#805

Merged
furlongm merged 1 commit intomainfrom
celery-issues
Apr 13, 2026
Merged

add celery worker resilience for database connection timeouts#805
furlongm merged 1 commit intomainfrom
celery-issues

Conversation

@furlongm
Copy link
Copy Markdown
Owner

@furlongm furlongm commented Apr 13, 2026

  • close stale db connections before each task via task_prerun signal
    (mirrors what django does for http requests)
  • add Restart=on-failure to worker and beat systemd services
  • add --loglevel info to worker service for diagnostics

fixes: #804

- close stale db connections before each task via task_prerun signal
  (mirrors what django does for http requests)
- add Restart=on-failure to worker and beat systemd services
- add --loglevel info to worker service for diagnostics
@furlongm furlongm merged commit 57b88f4 into main Apr 13, 2026
4 checks passed
@furlongm furlongm deleted the celery-issues branch April 13, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

help with celery-worker crashing

1 participant