mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-27 17:23:00 +00:00
Gateway: Allow for more lenient gateway bursts
This commit is contained in:
parent
7572caad31
commit
c1885067d7
|
@ -7,8 +7,7 @@ import (
|
|||
)
|
||||
|
||||
func NewSendLimiter() *rate.Limiter {
|
||||
// return rate.NewLimiter(rate.Every(time.Minute), 120)
|
||||
return rate.NewLimiter(rate.Every(time.Second), 2)
|
||||
return rate.NewLimiter(rate.Every(time.Minute), 120)
|
||||
}
|
||||
|
||||
func NewDialLimiter() *rate.Limiter {
|
||||
|
|
Loading…
Reference in a new issue