mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
chore: fix some comments (#2967)
Signed-off-by: kindknow <iturf@sina.com> Co-authored-by: Monkey <golang@88.com>
This commit is contained in:
@ -491,7 +491,7 @@ func (c *PubSub) getContext() context.Context {
|
||||
// Receive* APIs can not be used after channel is created.
|
||||
//
|
||||
// go-redis periodically sends ping messages to test connection health
|
||||
// and re-subscribes if ping can not not received for 1 minute.
|
||||
// and re-subscribes if ping can not received for 1 minute.
|
||||
func (c *PubSub) Channel(opts ...ChannelOption) <-chan *Message {
|
||||
c.chOnce.Do(func() {
|
||||
c.msgCh = newChannel(c, opts...)
|
||||
|
Reference in New Issue
Block a user