reduce empty response cache time

This commit is contained in:
TheBeastLT
2022-10-25 11:32:56 +02:00
parent 4b47b307b3
commit 9e8e76e09f
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ const AVAILABILITY_KEY_PREFIX = `${GLOBAL_KEY_PREFIX}|availability`;
const RESOLVED_URL_KEY_PREFIX = `${GLOBAL_KEY_PREFIX}|resolved`;
const STREAM_TTL = process.env.STREAM_TTL || 4 * 60 * 60; // 4 hours
const STREAM_EMPTY_TTL = process.env.STREAM_EMPTY_TTL || 30 * 60; // 30 minutes
const STREAM_EMPTY_TTL = process.env.STREAM_EMPTY_TTL || 60; // 1 minute
const AVAILABILITY_TTL = 8 * 60 * 60; // 8 hours
const AVAILABILITY_EMPTY_TTL = 60 * 60; // 1 hours
const MESSAGE_VIDEO_URL_TTL = 60; // 1 minutes