Reduce video import TTL
This commit is contained in:
parent
ebdb612458
commit
cfaf819c38
|
@ -119,7 +119,7 @@ const JOB_TTL: { [ id in JobType ]: number } = {
|
|||
'activitypub-follow': 60000 * 10, // 10 minutes
|
||||
'video-file-import': 1000 * 3600, // 1 hour
|
||||
'video-file': 1000 * 3600 * 48, // 2 days, transcoding could be long
|
||||
'video-import': 1000 * 3600 * 5, // 5 hours
|
||||
'video-import': 1000 * 3600 * 5, // 1 hour
|
||||
'email': 60000 * 10, // 10 minutes
|
||||
'videos-views': undefined // Unlimited
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import { ActorModel } from '../../../models/activitypub/actor'
|
|||
import { VideoAbuseModel } from '../../../models/video/video-abuse'
|
||||
import { addVideoComment, resolveThread } from '../video-comments'
|
||||
import { getOrCreateVideoAndAccountAndChannel } from '../videos'
|
||||
import { forwardActivity, forwardVideoRelatedActivity } from '../send/utils'
|
||||
import { forwardVideoRelatedActivity } from '../send/utils'
|
||||
import { Redis } from '../../redis'
|
||||
import { createCacheFile } from '../cache-file'
|
||||
|
||||
|
|
Loading…
Reference in New Issue