1
0
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:
Nedyalko Dyakov
2025-07-03 10:52:56 +03:00
parent cb8a4e5721
commit c44c8b5b03

View File

@ -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
} }