fix: remove job on complete
This commit is contained in:
parent
74c7b5fe70
commit
6bc120866a
@ -380,7 +380,13 @@ export class QueueService {
|
||||
|
||||
@bindThis
|
||||
public createReportAbuseJob(report: MiAbuseUserReport) {
|
||||
return this.dbQueue.add('reportAbuse', report);
|
||||
return this.dbQueue.add('reportAbuse',
|
||||
report,
|
||||
{
|
||||
removeOnComplete: true,
|
||||
removeOnFail: true,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
@bindThis
|
||||
|
Loading…
Reference in New Issue
Block a user