Skip to content

Commit dbed2d4

Browse files
committed
backend fix
1 parent 965817c commit dbed2d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ export class BackendRunnerService implements OnApplicationBootstrap, OnModuleIni
4848
if (!this.executors.has(job.name)) jobName = '*';
4949
this.logger.log(`Job ${job.name} received. Try to execute...`);
5050

51-
return await this.executors.get(jobName).execute({ job });
51+
const result = await this.executors.get(jobName).execute({ job });
52+
await job.updateProgress(100);
53+
return result;
5254
},
5355
{
5456
connection: this.redis,

0 commit comments

Comments
 (0)