From b49da6eeafac538a2bb6f3acb2e7e9bb7fbe8458 Mon Sep 17 00:00:00 2001 From: almostinf Date: Thu, 26 Oct 2023 00:18:42 +0300 Subject: [PATCH] add logging transaction heuristic limit --- database/redis/database.go | 1 + 1 file changed, 1 insertion(+) diff --git a/database/redis/database.go b/database/redis/database.go index 2957a85d6..244e92052 100644 --- a/database/redis/database.go +++ b/database/redis/database.go @@ -55,6 +55,7 @@ func NewDatabase(logger moira.Logger, config DatabaseConfig, nh NotificationHist String("delayed_time_str", n.DelayedTime.String()). Int("transaction_max_retries", n.TransactionMaxRetries). String("transaction_timeout", n.TransactionTimeout.String()). + Int64("transaction_heuristic_limit", n.TransactionHeuristicLimit). Msg("Delayed time") client := redis.NewUniversalClient(&redis.UniversalOptions{