mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-23 07:26:47 +00:00
Modify bitfinex test rate limiter
This commit is contained in:
@@ -35,8 +35,8 @@ func TestSetup(t *testing.T) {
|
||||
}
|
||||
b.AuthenticatedAPISupport = true
|
||||
// custom rate limit for testing
|
||||
b.Requester.SetRateLimit(true, time.Second*30, 3)
|
||||
b.Requester.SetRateLimit(false, time.Second*30, 3)
|
||||
b.Requester.SetRateLimit(true, time.Second*20, 1)
|
||||
b.Requester.SetRateLimit(false, time.Second*20, 1)
|
||||
}
|
||||
|
||||
func TestGetPlatformStatus(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user