Skip to content

Commit

Permalink
chore(flags.go): add additional logging statements for backoffLimit, …
Browse files Browse the repository at this point in the history
…limitFees,

sleepBetweenRetries, sleepBetweenRetriesBackoff, and sleepMax to provide more
insight into the application's behavior
  • Loading branch information
markettes committed Apr 2, 2024
1 parent 0ddd649 commit 8dde11a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,9 @@ func init() {
log.Debug("nodeguardHost: ", nodeguardHost)
log.Debug("retriesBeforeBackoff: ", viper.GetInt("retriesBeforeBackoff"))
log.Debug("backoffCoefficient: ", viper.GetFloat64("backoffCoefficient"))

log.Debug("backoffLimit: ", viper.GetFloat64("backoffLimit"))
log.Debug("limitFees: ", viper.GetFloat64("limitFees"))
log.Debug("sleepBetweenRetries: ", viper.GetDuration("sleepBetweenRetries"))
log.Debug("sleepBetweenRetriesBackoff: ", viper.GetFloat64("sleepBetweenRetriesBackoff"))
log.Debug("sleepMax: ", viper.GetDuration("sleepMax"))
}

0 comments on commit 8dde11a

Please sign in to comment.