We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fae0ef commit eaceb0eCopy full SHA for eaceb0e
1 file changed
pit/limiter_test.go
@@ -26,7 +26,7 @@ func Test_nopeLimiter_allow(t *testing.T) {
26
func Test_tokenLimiter_allow(t *testing.T) {
27
t.Parallel()
28
29
- qps, oneTokenDuration := 100, time.Second/100
+ qps, oneTokenDuration := 10, time.Second/10
30
lim := newTokenLimiter(qps)
31
lim.token = 0
32
0 commit comments