Modify bitfinex test rate limiter

This commit is contained in:
Adrian Gallagher
2018-05-04 14:03:37 +10:00
parent ac41a7cfad
commit e789a28271

View File

@@ -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) {