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:
parent
e65ef81cf5
commit
182082f52d
4 changed files with 13 additions and 47 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue