Skip to content

Commit 2a03215

Browse files
fix: Refill limiter with limit (#49)
1 parent 22ed31a commit 2a03215

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: proxy/src/limiter.rs

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ async fn add_limiter(state: &State, consumer: &Consumer, tier: &Tier) {
1818
RateLimiter::builder()
1919
.initial(r.limit)
2020
.interval(r.interval)
21+
.refill(r.limit)
2122
.build(),
2223
)
2324
})

0 commit comments

Comments
 (0)