diff --git a/CHANGELOG.md b/CHANGELOG.md index 484d40f..6b540a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ > :heart: > [**Uptrace.dev** - All-in-one tool to optimize performance and monitor errors & logs](https://uptrace.dev) +## v8.9 + +- Changed `PubSub.Channel` to only rely on `Ping` result. You can now use `WithChannelSize`, + `WithChannelHealthCheckInterval`, and `WithChannelSendTimeout` to override default settings. + ## v8.8 - To make updating easier, extra modules now have the same version as go-redis does. That means that diff --git a/pubsub.go b/pubsub.go index 68cea71..c6ffb25 100644 --- a/pubsub.go +++ b/pubsub.go @@ -484,7 +484,7 @@ func WithChannelHealthCheckInterval(d time.Duration) ChannelOption { } } -// WithChannelSendTimeout specifies that channel send timeout after which +// WithChannelSendTimeout specifies the channel send timeout after which // the message is dropped. // // The default is 60 seconds.