fixes
This commit is contained in:
parent
174a8b1b3e
commit
417f52359d
21 changed files with 88 additions and 70 deletions
|
@ -20,7 +20,7 @@ export class ObjectStorageQueueProcessorsService {
|
|||
public start(q: Bull.Queue) {
|
||||
const jobs = {
|
||||
deleteFile: (job) => this.deleteFileProcessorService.process(job),
|
||||
cleanRemoteFiles: (job) => this.cleanRemoteFilesProcessorService.process(job),
|
||||
cleanRemoteFiles: (job, done) => this.cleanRemoteFilesProcessorService.process(job, done),
|
||||
} as Record<string, Bull.ProcessCallbackFunction<ObjectStorageJobData | Bull.ProcessPromiseFunction<ObjectStorageJobData>>>;
|
||||
|
||||
for (const [k, v] of Object.entries(jobs)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue