1
0
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:
Nedyalko Dyakov
2025-07-05 06:34:38 +03:00
parent b23f43c2f1
commit 7a0f316216
4 changed files with 34 additions and 328 deletions

View File

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