fix indentation
This commit is contained in:
parent
10a9e423d9
commit
d71a4fa41d
1 changed files with 11 additions and 11 deletions
|
|
@ -179,18 +179,18 @@ export class QueueService implements OnModuleInit {
|
|||
});
|
||||
|
||||
await this.systemQueue.upsertJobScheduler(
|
||||
'hibernateUsers-scheduler',
|
||||
{ pattern: '30 1 * * *' }, // every day at 01:30 (avoid bakeBufferedReactions)
|
||||
{
|
||||
name: 'hibernateUsers',
|
||||
opts: {
|
||||
removeOnComplete: 10,
|
||||
removeOnFail: 30,
|
||||
},
|
||||
});
|
||||
'hibernateUsers-scheduler',
|
||||
{ pattern: '30 1 * * *' }, // every day at 01:30 (avoid bakeBufferedReactions)
|
||||
{
|
||||
name: 'hibernateUsers',
|
||||
opts: {
|
||||
removeOnComplete: 10,
|
||||
removeOnFail: 30,
|
||||
},
|
||||
});
|
||||
|
||||
// Slot '40 1 * * *' is available for future work
|
||||
// Slot '50 1 * * *' is available for future work
|
||||
// Slot '40 1 * * *' is available for future work
|
||||
// Slot '50 1 * * *' is available for future work
|
||||
}
|
||||
|
||||
@bindThis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue