reduce redis content expiry to 1 hour

This commit is contained in:
La macchina desiderante 2024-05-19 11:00:06 +02:00
parent c7e9305588
commit ca1d5dfec1
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
export const DEFAULT_XVIDEOS_CONTENT_EXPIRY = { EX: 60 * 60 * 24 };
export const DEFAULT_XNXX_CONTENT_EXPIRY = { EX: 60 * 60 * 24 };
const EX_HOURLY = 60 * 60
const EX_DAILY = 60 * 60 * 24
export const DEFAULT_XVIDEOS_CONTENT_EXPIRY = { EX: EX_HOURLY };
export const DEFAULT_XNXX_CONTENT_EXPIRY = { EX: EX_HOURLY };
export const DEFAULT_RELATED_VIDEO_KEY_PATH = '/related/'