We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e74306 commit c282445Copy full SHA for c282445
src/index.ts
@@ -253,7 +253,7 @@ class Fast42 {
253
254
public async disconnect() {
255
return Promise.all(this._limiterPairs.map(async (limiterPair) => {
256
- return limiterPair.limiter.disconnect()
+ return limiterPair.limiter.disconnect(true)
257
}))
258
}
259
@@ -394,6 +394,8 @@ class Fast42 {
394
private createRedisLimiter(limit: RateLimit, concurrentOffset: number, redisConfig: RedisConfig): Bottleneck {
395
// Create a redis client
396
const client = createClient(redisConfig.port, redisConfig.host, {
397
+ port: redisConfig.port,
398
+ host: redisConfig.host,
399
password: redisConfig.password,
400
});
401
0 commit comments