refactor(config): Increase default queue cleanup interval to 120s#122
Merged
refactor(config): Increase default queue cleanup interval to 120s#122
Conversation
Increase the default QUEUE_CLEANUP_INTERVAL from 30s to 120s to reduce system overhead and improve performance for typical use cases. The more conservative cleanup interval is better suited for production workloads where frequent cleanup is unnecessary. Changes: - Updated QueueConfig.CleanupInterval default from 30s to 120s - Updated all related tests to match new default value - Updated examples and documentation to reflect new default 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
ig-semantic-release-bot bot
added a commit
that referenced
this pull request
Dec 13, 2025
## [0.16.1](v0.16.0...v0.16.1) (2025-12-13) ### ♻️ Improvements * **config:** Increase default queue cleanup interval to 120s ([#122](#122)) ([10e6e94](10e6e94)) ### 📚 Documentation * Add missing examples to main readme ([e0687d9](e0687d9)) ### 🔧 Miscellaneous * **deps:** Bump common dependecies to their latest and add missing infer cli and mockgen ([81a7221](81a7221))
Contributor
|
🎉 This PR is included in version 0.16.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Increase the default
QUEUE_CLEANUP_INTERVALfrom 30s to 120s to reduce system overhead and improve performance for typical use cases. The more conservative cleanup interval is better suited for production workloads where frequent cleanup is unnecessary.Changes
QueueConfig.CleanupIntervaldefault from30sto120sin server/config/config.goRationale
A 2-minute cleanup interval provides:
Testing
🤖 Generated with Claude Code