Skip to content

Commit 9196b99

Browse files
author
shashankiifetech
committed
update
1 parent c88f76b commit 9196b99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

worker/worker.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import pino from 'pino';
55
import { runCode } from '../shared/runCode.js';
66

77
const log = pino();
8-
const redis = new Redis(process.env.REDIS_URL);
8+
const redis = new Redis(process.env.REDIS_URL, {
9+
maxRetriesPerRequest: null
10+
});
911

1012
new Worker(
1113
'code-jobs',

0 commit comments

Comments
 (0)