Browse Source

Fix infohash exists memoize maxage

1 minute is enough, and it could lead to unknown infohash issue when
  re-streaming in a permanent live
develop
Chocobozzz 1 week ago
parent
commit
22926eafdb
No known key found for this signature in database GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/initializers/constants.ts

+ 1
- 1
server/initializers/constants.ts View File

@@ -808,7 +808,7 @@ const VIDEO_LIVE = {

const MEMOIZE_TTL = {
OVERVIEWS_SAMPLE: 1000 * 3600 * 4, // 4 hours
INFO_HASH_EXISTS: 1000 * 3600 * 12, // 12 hours
INFO_HASH_EXISTS: 1000 * 60, // 1 minute
VIDEO_DURATION: 1000 * 10, // 10 seconds
LIVE_ABLE_TO_UPLOAD: 1000 * 60, // 1 minute
LIVE_CHECK_SOCKET_HEALTH: 1000 * 60, // 1 minute


Loading…
Cancel
Save