mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
slacknotifier: increase slack notification burst to 3
This commit is contained in:
parent
d3a1a973b6
commit
239f7ea5dd
|
@ -14,7 +14,7 @@ import (
|
||||||
"github.com/slack-go/slack"
|
"github.com/slack-go/slack"
|
||||||
)
|
)
|
||||||
|
|
||||||
var limiter = rate.NewLimiter(rate.Every(1*time.Second), 1)
|
var limiter = rate.NewLimiter(rate.Every(1*time.Second), 3)
|
||||||
|
|
||||||
type notifyTask struct {
|
type notifyTask struct {
|
||||||
Channel string
|
Channel string
|
||||||
|
|
Loading…
Reference in New Issue
Block a user