use redis for video cache

Signed-off-by: zzls Selfhost <root@selfhost.zzls.xyz>
This commit is contained in:
Emilien Devos
2023-06-10 22:21:38 +02:00
committed by Fijxu
parent b60e056f96
commit 389a2a4a4d
6 changed files with 33 additions and 5 deletions

View File

@@ -74,6 +74,8 @@ class Config
# Database configuration using 12-Factor "Database URL" syntax
@[YAML::Field(converter: Preferences::URIConverter)]
property database_url : URI = URI.parse("")
property redis_url : String?
property redis_socket : String?
# Use polling to keep decryption function up to date
property decrypt_polling : Bool = false
# Used for crawling channels: threads should check all videos uploaded by a channel