Invidious is an alternative front-end to YouTube
Disable decrypt_polling by default + add comment (#3244)
Émilien Devos3d77642a1e2a
diff --git a/config/config.example.yml b/config/config.example.ymlindex 3e8faf20..10734c3a 100644--- a/config/config.example.yml+++ b/config/config.example.yml@@ -352,10 +352,13 @@ feed_threads: 1## Note: This part of the code generate a small amount of data every minute.## This may not be desired if you have bandwidth limits set by your ISP.##+## Note 2: This part of the code is currently broken, so changing+## this setting has no impact.+#### Accepted values: true, false-## Default: true+## Default: false##-#decrypt_polling: true+#decrypt_polling: false# -----------------------------diff --git a/src/invidious/config.cr b/src/invidious/config.crindex a077c7fd..786b65df 100644--- a/src/invidious/config.cr+++ b/src/invidious/config.cr@@ -75,7 +75,7 @@ class Config@[YAML::Field(converter: Preferences::URIConverter)]property database_url : URI = URI.parse("")# Use polling to keep decryption function up to date- property decrypt_polling : Bool = true+ property decrypt_polling : Bool = false# Used for crawling channels: threads should check all videos uploaded by a channelproperty full_refresh : Bool = false# Used to tell Invidious it is behind a proxy, so links to resources should be https://