Skip to content

Commit 7953133

Browse files
committed
bad dep
1 parent cd2aece commit 7953133

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/service/cache/service.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import type { KVNamespace } from '@cloudflare/workers-types'
22
import { createClient } from 'redis'
33
import type { RedisClientType } from 'redis'
44
import type { Environment } from '#/types/index'
5-
import { close } from 'fs'
65

76
export interface ICacheService {
87
get(key: string): Promise<{} | null>
@@ -36,9 +35,9 @@ export class CacheService implements ICacheService {
3635

3736
const client: RedisClientType = createClient({
3837
url: this.#env.REDIS_URL,
39-
socket: {
40-
connectTimeout: 10000
41-
}
38+
socket: {
39+
connectTimeout: 10000
40+
}
4241
})
4342

4443
client.on('error', (err: Error) => {

0 commit comments

Comments
 (0)