Skip to content

Commit

Permalink
fix: refresh sentry nonce every 500ms (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
irrun authored Aug 27, 2024
1 parent 665bf82 commit a5f9141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func NewValidator(config ValidatorConfig) Validator {
payAccount: acc,
}

if _, err := v.scheduler.Every(10).Second().Do(func() {
if _, err := v.scheduler.Every(500).Milliseconds().Do(func() {
v.refresh()
}); err != nil {
log.Debugw("error while setting up scheduler", "err", err)
Expand Down

0 comments on commit a5f9141

Please sign in to comment.