Skip to content

Commit

Permalink
fix: refresh sentry nonce every 500ms
Browse files Browse the repository at this point in the history
  • Loading branch information
irrun committed Aug 27, 2024
1 parent 665bf82 commit ff92b59
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 ff92b59

Please sign in to comment.