mirror of
https://github.com/redis/go-redis.git
synced 2025-07-18 00:20:57 +03:00
fix(tests): remove bench_decode tests
This commit is contained in:
3
redis.go
3
redis.go
@ -1102,7 +1102,8 @@ func (c *baseClient) processPushNotifications(ctx context.Context, cn *pool.Conn
|
||||
|
||||
// Use WithReader to access the reader and process push notifications
|
||||
// This is critical for hitless upgrades to work properly
|
||||
return cn.WithReader(ctx, 0, func(rd *proto.Reader) error {
|
||||
// NOTE: almost no timeouts are set for this read, so it should not block
|
||||
return cn.WithReader(ctx, 1, func(rd *proto.Reader) error {
|
||||
// Create handler context with client, connection pool, and connection information
|
||||
handlerCtx := c.pushNotificationHandlerContext(cn)
|
||||
return c.pushProcessor.ProcessPendingNotifications(ctx, handlerCtx, rd)
|
||||
|
Reference in New Issue
Block a user