Skip to content

Commit

Permalink
fix: Use ticker instead of timer to update URL mappings (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
boecklim authored Jan 31, 2025
1 parent 1cc5a84 commit a02b3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/callbacker/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (p *Processor) Start() error {
func (p *Processor) startSyncURLMapping() {
p.waitGroup.Add(1)
go func() {
timer := time.NewTimer(syncInterval)
timer := time.NewTicker(syncInterval)
defer func() {
timer.Stop()
p.waitGroup.Done()
Expand Down

0 comments on commit a02b3a7

Please sign in to comment.