diff --git a/CHANGELOG.md b/CHANGELOG.md index dc15626c..35745b30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Added `Config.Plugins` for extensions that should be installed as both hooks and middleware. `Config.Hooks` and `Config.Middleware` remain available for hook-only and middleware-only registration. [PR #1284](https://github.com/riverqueue/river/pull/1284). +- Reduce producer keep alive interval from 1 minute to 30 seconds. [PR #1319](https://github.com/riverqueue/river/pull/1319). ### Fixed diff --git a/producer.go b/producer.go index 88e30420..6c24baa3 100644 --- a/producer.go +++ b/producer.go @@ -33,7 +33,7 @@ import ( ) const ( - producerReportIntervalDefault = time.Minute + producerReportIntervalDefault = 30 * time.Second queuePollIntervalDefault = 2 * time.Second queueReportIntervalDefault = 10 * time.Minute )