mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-06-29 10:28:24 +00:00
Videos: Increase video cache to 4 hours
This commit is contained in:
parent
025fa8b64b
commit
41977eb7c1
@ -10,8 +10,8 @@ module Invidious::Database::Videos
|
||||
ON CONFLICT (id) DO NOTHING
|
||||
SQL
|
||||
|
||||
REDIS_DB.set(video.id, video.info.to_json, ex: 3600)
|
||||
REDIS_DB.set(video.id + ":time", video.updated, ex: 3600)
|
||||
REDIS_DB.set(video.id, video.info.to_json, ex: 14400)
|
||||
REDIS_DB.set(video.id + ":time", video.updated, ex: 14400)
|
||||
end
|
||||
|
||||
def delete(id)
|
||||
|
Loading…
Reference in New Issue
Block a user