Skip to content

Commit

Permalink
Update utils/ticker.go
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kaplan <[email protected]>
Signed-off-by: cam-schultz <[email protected]>
  • Loading branch information
cam-schultz and michaelkaplan13 authored May 13, 2024
1 parent 3b3cf0e commit 7048b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/ticker.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ type Ticker struct {
lock *sync.Mutex
}

func NewTicker(writeIntervalSeconds uint64) *Ticker {
func NewTicker(intervalSeconds uint64) *Ticker {
return &Ticker{
interval: time.Duration(writeIntervalSeconds) * time.Second,
interval: time.Duration(intervalSeconds) * time.Second,
lock: &sync.Mutex{},
}
}
Expand Down

0 comments on commit 7048b94

Please sign in to comment.