Update CleanRemoteNotesProcessorService.ts
This commit is contained in:
parent
c835dc76d6
commit
7c36d220f7
|
@ -64,6 +64,7 @@ export class CleanRemoteNotesProcessorService {
|
||||||
|
|
||||||
if (elapsed >= maxDuration) {
|
if (elapsed >= maxDuration) {
|
||||||
this.logger.info(`Reached maximum duration of ${maxDuration}ms, stopping...`);
|
this.logger.info(`Reached maximum duration of ${maxDuration}ms, stopping...`);
|
||||||
|
job.log('Reached maximum duration, stopping garbage collection.');
|
||||||
job.updateProgress(100);
|
job.updateProgress(100);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue