Skip to content

Conversation

@ksoviero-zengrc
Copy link
Contributor

@ksoviero-zengrc ksoviero-zengrc commented Sep 12, 2025

This PR allows specifying the dramatiq_worker_timeout as an environment variable which is then passed into the worker. The goal for us was to be able to increase the max_backoff setting in compute_backoff with Redis because the default of 1000ms is too low for our use case.

Copy link
Collaborator

@LincolnPuzey LincolnPuzey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I want to avoid new command line options for rarely-used configuration. Can you make this configurable from a env var, similar to dramatiq_restart_delay and dramatiq_queue_prefetch

@ksoviero-zengrc ksoviero-zengrc force-pushed the ks/add-worker-timeout-to-cli branch from 8068ff0 to 602f1f1 Compare September 16, 2025 18:19
@ksoviero-zengrc ksoviero-zengrc changed the title add --worker-timeout support to cli add worker_timeout environment variable Sep 16, 2025
@ksoviero-zengrc ksoviero-zengrc changed the title add worker_timeout environment variable add dramatiq_worker_timeout environment variable Sep 16, 2025
DKarandikar added a commit to Ask-Silver/dramatiq that referenced this pull request Sep 17, 2025
@LincolnPuzey LincolnPuzey merged commit 60f95a7 into Bogdanp:master Sep 18, 2025
13 checks passed
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.

2 participants