Skip to content

Commit

Permalink
fix: remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarMulder committed Jun 17, 2023
1 parent 80ac375 commit fade598
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Bottleneck from "bottleneck";
import fetch, { Response } from 'node-fetch';
import NodeCache from 'node-cache';
import { createClient } from "redis";

interface AccessTokenInfo {
access_token: AccessToken
Expand Down Expand Up @@ -392,14 +391,6 @@ class Fast42 {
}

private createRedisLimiter(limit: RateLimit, concurrentOffset: number, redisConfig: RedisConfig): Bottleneck {
// Create a redis client
// const client = createClient(redisConfig.port, redisConfig.host, {
// password: redisConfig.password,
// });

// client.on('error', function (err) {
// console.log('Redis client encountered an error: ', err);
// });

const limiter = new Bottleneck({
// Redis options
Expand Down

0 comments on commit fade598

Please sign in to comment.