fix(tests): Fixed several unit and integration tests

This commit is contained in:
Chris Troutner
2020-03-07 10:43:55 -08:00
parent 940511929f
commit b74a3335b0
5 changed files with 53 additions and 23 deletions
+4
View File
@@ -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.