binance: adjust rate limiter bucket

This commit is contained in:
c9s 2021-11-05 01:25:16 +08:00
parent 82d859a43d
commit a2c2646a16

View File

@ -24,7 +24,8 @@ import (
const BNB = "BNB"
// 50 per 10 seconds = 5 per second
var orderLimiter = rate.NewLimiter(5, 50)
var orderLimiter = rate.NewLimiter(5, 5)
var log = logrus.WithFields(logrus.Fields{
"exchange": "binance",