Skip to content

Commit fade598

Browse files
committed
fix: remove unused import
1 parent 80ac375 commit fade598

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/index.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import Bottleneck from "bottleneck";
22
import fetch, { Response } from 'node-fetch';
33
import NodeCache from 'node-cache';
4-
import { createClient } from "redis";
54

65
interface AccessTokenInfo {
76
access_token: AccessToken
@@ -392,14 +391,6 @@ class Fast42 {
392391
}
393392

394393
private createRedisLimiter(limit: RateLimit, concurrentOffset: number, redisConfig: RedisConfig): Bottleneck {
395-
// Create a redis client
396-
// const client = createClient(redisConfig.port, redisConfig.host, {
397-
// password: redisConfig.password,
398-
// });
399-
400-
// client.on('error', function (err) {
401-
// console.log('Redis client encountered an error: ', err);
402-
// });
403394

404395
const limiter = new Bottleneck({
405396
// Redis options

0 commit comments

Comments
 (0)