reduce Redis expiry for pornhub videos

This commit is contained in:
La macchina desiderante 2024-05-23 18:37:44 +02:00
parent 3a407c7c92
commit 6cac83323d
1 changed files with 2 additions and 1 deletions

View File

@ -1,8 +1,9 @@
const EX_MIN = 60
const EX_HOURLY = 60 * 60 const EX_HOURLY = 60 * 60
const EX_DAILY = 60 * 60 * 24 const EX_DAILY = 60 * 60 * 24
export const DEFAULT_PORNHUB_GALLERY_EXPIRY = { EX: EX_HOURLY }; export const DEFAULT_PORNHUB_GALLERY_EXPIRY = { EX: EX_HOURLY };
export const DEFAULT_PORNHUB_VIDEO_EXPIRY = { EX: EX_HOURLY }; export const DEFAULT_PORNHUB_VIDEO_EXPIRY = { EX: EX_MIN };
export const DEFAULT_XVIDEOS_CONTENT_EXPIRY = { EX: EX_HOURLY }; export const DEFAULT_XVIDEOS_CONTENT_EXPIRY = { EX: EX_HOURLY };
export const DEFAULT_XNXX_CONTENT_EXPIRY = { EX: EX_HOURLY }; export const DEFAULT_XNXX_CONTENT_EXPIRY = { EX: EX_HOURLY };