Skip to content

queue-specific fetch interval and cooldown configs #994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2025

Conversation

bgentry
Copy link
Contributor

@bgentry bgentry commented Aug 1, 2025

Added QueueConfig level FetchCooldown and FetchPollInterval settings to enable queue-specific job fetch intervals. For example, a queue of high-priority jobs could be checked more often to improve responsiveness, while one with slow or time-insensitive tasks could be checked infrequently to reduce database load.

@bgentry bgentry requested a review from brandur August 1, 2025 03:45
@bgentry bgentry force-pushed the bg-queue-specific-fetch-configs branch from 2ef9de3 to 7805192 Compare August 1, 2025 03:45
Copy link
Contributor

@brandur brandur left a comment

Choose a reason for hiding this comment

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

Good stuff!

@bgentry bgentry merged commit 58f07b5 into master Aug 2, 2025
10 checks passed
@bgentry bgentry deleted the bg-queue-specific-fetch-configs branch August 2, 2025 03:01
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