add config to decrypt on demand instead of polling

This commit is contained in:
vhuynh3000
2020-09-27 10:19:44 -07:00
committed by saltycrys
parent 28dac81a90
commit 3a2bd4e928
5 changed files with 74 additions and 51 deletions

View File

@@ -67,6 +67,7 @@ class Config
property channel_threads : Int32 # Number of threads to use for crawling videos from channels (for updating subscriptions)
property feed_threads : Int32 # Number of threads to use for updating feeds
property db : DBConfig # Database configuration
property decrypt_polling : Bool = true # Use polling to keep decryption function up to date
property full_refresh : Bool # Used for crawling channels: threads should check all videos uploaded by a channel
property https_only : Bool? # Used to tell Invidious it is behind a proxy, so links to resources should be https://
property hmac_key : String? # HMAC signing key for CSRF tokens and verifying pubsub subscriptions