feat(server): add missing thumbnail check to nightly jobs (#2510)
This commit is contained in:
parent
356f4424df
commit
0ccb73cf2b
2 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ describe(JobService.name, () => {
|
|||
expect(jobMock.queue.mock.calls).toEqual([
|
||||
[{ name: JobName.USER_DELETE_CHECK }],
|
||||
[{ name: JobName.PERSON_CLEANUP }],
|
||||
[{ name: JobName.QUEUE_GENERATE_THUMBNAILS, data: { force: false } }],
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -14,6 +14,7 @@ export class JobService {
|
|||
async handleNightlyJobs() {
|
||||
await this.jobRepository.queue({ name: JobName.USER_DELETE_CHECK });
|
||||
await this.jobRepository.queue({ name: JobName.PERSON_CLEANUP });
|
||||
await this.jobRepository.queue({ name: JobName.QUEUE_GENERATE_THUMBNAILS, data: { force: false } });
|
||||
}
|
||||
|
||||
handleCommand(queueName: QueueName, dto: JobCommandDto): Promise<void> {
|
||||
|
|
Loading…
Reference in a new issue