1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Update bullmq

Requires redis >= 6.2
This commit is contained in:
Chocobozzz 2023-02-16 14:10:11 +01:00
parent e65ef81cf5
commit 182082f52d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 13 additions and 47 deletions

View file

@ -212,10 +212,10 @@ const JOB_TTL: { [id in JobType]: number } = {
}
const REPEAT_JOBS: { [ id in JobType ]?: RepeatOptions } = {
'videos-views-stats': {
cron: randomInt(1, 20) + ' * * * *' // Between 1-20 minutes past the hour
pattern: randomInt(1, 20) + ' * * * *' // Between 1-20 minutes past the hour
},
'activitypub-cleaner': {
cron: '30 5 * * ' + randomInt(0, 7) // 1 time per week (random day) at 5:30 AM
pattern: '30 5 * * ' + randomInt(0, 7) // 1 time per week (random day) at 5:30 AM
}
}
const JOB_PRIORITY = {