Skip to content

Commit 14906ce

Browse files
committed
[fix] make rate limit more consistant
1 parent 23d63c4 commit 14906ce

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

setup_e2e_test.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,7 @@ func (b *Bucket) Take() {
5858
// fill a action token into bucket,
5959
// no-op if the bucket is currently full
6060
func (b *Bucket) fill() {
61-
select {
62-
case b.bucket <- true:
63-
// relax
64-
default:
65-
// relax
66-
}
61+
b.bucket <- true
6762
}
6863

6964
func (b *Bucket) fillRoutine() {

0 commit comments

Comments
 (0)