1
0
mirror of https://github.com/redis/go-redis.git synced 2025-09-02 22:01:16 +03:00

fix log order

This commit is contained in:
Nedyalko Dyakov
2025-08-27 15:16:34 +03:00
parent e94b0a5bc0
commit 418c1f3416

View File

@@ -171,7 +171,8 @@ func (snh *NotificationHandler) handleMigrating(ctx context.Context, handlerCtx
// Apply relaxed timeout to this specific connection
if snh.manager.config.LogLevel >= 3 { // Debug level
internal.Logger.Printf(ctx, "hitless: conn[%d] applying relaxed timeout (%v) for MIGRATING notification",
snh.manager.config.RelaxedTimeout, conn.GetID())
conn.GetID(),
snh.manager.config.RelaxedTimeout)
}
conn.SetRelaxedTimeout(snh.manager.config.RelaxedTimeout, snh.manager.config.RelaxedTimeout)
return nil