// ---------------------------------------------------------------------------
-const LAST_MIGRATION_VERSION = 690
+const LAST_MIGRATION_VERSION = 700
// ---------------------------------------------------------------------------
'video-redundancy': 1,
'video-live-ending': 1,
'video-edition': 1,
+ 'manage-video-torrent': 1,
'move-to-object-storage': 3
}
// Excluded keys are jobs that can be configured by admins
'video-redundancy': 1,
'video-live-ending': 10,
'video-edition': 1,
+ 'manage-video-torrent': 1,
'move-to-object-storage': 1
}
const JOB_TTL: { [id in JobType]: number } = {
'activitypub-refresher': 60000 * 10, // 10 minutes
'video-redundancy': 1000 * 3600 * 3, // 3 hours
'video-live-ending': 1000 * 60 * 10, // 10 minutes
+ 'manage-video-torrent': 1000 * 3600 * 3, // 3 hours
'move-to-object-storage': 1000 * 60 * 60 * 3 // 3 hours
}
const REPEAT_JOBS: { [ id in JobType ]?: EveryRepeatOptions | CronRepeatOptions } = {