Skip to content

Commit

Permalink
fix(scheduler): removes rate limiter mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
fcote committed Feb 24, 2023
1 parent f29beec commit 0f087fb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scheduler/pkg/fmp/rate_limit_timer.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package fmp

import (
"sync"
"sync/atomic"
"time"
)
Expand All @@ -14,8 +13,6 @@ type RateLimitTimer struct {
end time.Time
nRequests atomic.Uint64
maxRequestsPerMin uint64

mu sync.Mutex
}

// NewRateLimitTimer creates a new RateLimitTimer
Expand Down

0 comments on commit 0f087fb

Please sign in to comment.