mirror of
https://github.com/redis/go-redis.git
synced 2025-07-19 11:43:14 +03:00
fix: increase peek notification name bytes
This commit is contained in:
@ -91,8 +91,8 @@ func (r *Reader) PeekReplyType() (byte, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *Reader) PeekPushNotificationName() (string, error) {
|
func (r *Reader) PeekPushNotificationName() (string, error) {
|
||||||
// peek 32 bytes, should be enough to read the push notification name
|
// peek 36 bytes, should be enough to read the push notification name
|
||||||
buf, err := r.rd.Peek(32)
|
buf, err := r.rd.Peek(36)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user