Skip to content

Commit

Permalink
add logging transaction heuristic limit
Browse files Browse the repository at this point in the history
  • Loading branch information
almostinf committed Oct 25, 2023
1 parent 9fd14c6 commit b49da6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/redis/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit b49da6e

Please sign in to comment.