mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-04-21 19:21:55 +00:00
increase availability cache time
This commit is contained in:
parent
96fa4ff19d
commit
951ec718de
2 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ const RESOLVED_URL_KEY_PREFIX = `${GLOBAL_KEY_PREFIX}|resolved`;
|
||||||
const STREAM_TTL = 24 * 60 * 60 * 1000; // 24 hours
|
const STREAM_TTL = 24 * 60 * 60 * 1000; // 24 hours
|
||||||
const STREAM_EMPTY_TTL = 60 * 1000; // 1 minute
|
const STREAM_EMPTY_TTL = 60 * 1000; // 1 minute
|
||||||
const RESOLVED_URL_TTL = 3 * 60 * 60 * 1000; // 3 hours
|
const RESOLVED_URL_TTL = 3 * 60 * 60 * 1000; // 3 hours
|
||||||
const AVAILABILITY_TTL = 24 * 60 * 60 * 1000; // 24 hours
|
const AVAILABILITY_TTL = 5 * 24 * 60 * 60 * 1000; // 5 days
|
||||||
const MESSAGE_VIDEO_URL_TTL = 60 * 1000; // 1 minutes
|
const MESSAGE_VIDEO_URL_TTL = 60 * 1000; // 1 minutes
|
||||||
// When the streams are empty we want to cache it for less time in case of timeouts or failures
|
// When the streams are empty we want to cache it for less time in case of timeouts or failures
|
||||||
|
|
||||||
|
|
|
||||||
BIN
addon/static/videos/failed_too_big_v1.mp4
Normal file
BIN
addon/static/videos/failed_too_big_v1.mp4
Normal file
Binary file not shown.
Loading…
Reference in a new issue