mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 17:22:04 -07:00
fix(tests): Fixed several unit and integration tests
This commit is contained in:
@@ -61,6 +61,10 @@ class RateLimits {
|
||||
redisClient.disconnect()
|
||||
}
|
||||
|
||||
async wipeRedis () {
|
||||
await redisClient.flushdb()
|
||||
}
|
||||
|
||||
// CT 2/7/20: Older rate-limiting code that does not scale well.
|
||||
/*
|
||||
This function controls the tierd request-per-minute (RPM) rate limits.
|
||||
|
||||
Reference in New Issue
Block a user