Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Jan 18, 2024
1 parent c9bcbdb commit 3bd4847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/standard/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func NewStore(ctx context.Context,
if err != nil {
return nil, errors.Wrap(err, "random number generator failure")
}
period := 24*time.Hour + time.Duration(time.Duration(offset.Int64())*time.Second)
period := 24*time.Hour + time.Duration(offset.Int64())*time.Second
ticker = time.NewTicker(period)
go func(db *badger.DB) {
for {
Expand Down

0 comments on commit 3bd4847

Please sign in to comment.