Skip to content

Commit fdc6e45

Browse files
committed
Use duplicate connection for Redis in BackendRunnerService
1 parent 76dd347 commit fdc6e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend-runner/backend-runner.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export class BackendRunnerService implements OnApplicationBootstrap, OnModuleIni
110110
return result;
111111
},
112112
{
113-
connection: this.redis,
113+
connection: this.redis.duplicate(),
114114
autorun: false,
115115
removeOnComplete: {
116116
age: 60 * 60 * 24 * 7,

0 commit comments

Comments
 (0)