mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-10 17:05:17 +00:00
Apparently I don't need reaction rate limits
This commit is contained in:
parent
e78cf501a5
commit
532a8ba8b4
|
@ -51,12 +51,9 @@ type bucket struct {
|
|||
|
||||
func NewLimiter() *Limiter {
|
||||
return &Limiter{
|
||||
global: new(int64),
|
||||
buckets: sync.Map{},
|
||||
CustomLimits: []*CustomRateLimit{{
|
||||
Contains: "/reactions/",
|
||||
Reset: 200 * time.Millisecond,
|
||||
}},
|
||||
global: new(int64),
|
||||
buckets: sync.Map{},
|
||||
CustomLimits: []*CustomRateLimit{},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue