Skip to content

Commit

Permalink
fix: stop activity
Browse files Browse the repository at this point in the history
  • Loading branch information
pociej committed Apr 12, 2024
1 parent 6c78a49 commit bd71c79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/src/services/file/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ export const fileService = (
.run(`cat /golem/output/temp/metadata.json`)
.end();

//@ts-ignore
executor.shutdown();
worker.context.activity.stop();
return JSON.parse((results[3].stdout || "null") as string);
},
async processFile(fileName: string, userId: string, depositId: bigint) {
Expand Down

0 comments on commit bd71c79

Please sign in to comment.