From 37f5a2b1cdf3ee2b2752bdd46c6e1e07e3c8a57a Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Wed, 26 May 2021 15:12:25 +0300 Subject: [PATCH] Update changelog --- CHANGELOG.md | 5 +++++ pubsub.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 484d40f5..6b540a4f 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 68cea710..c6ffb256 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.