summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉmilien Devos <contact@emiliendevos.be>2022-08-06 19:09:10 +0200
committerGitHub <noreply@github.com>2022-08-06 17:09:10 +0000
commit3d77642a1e2a94c1314a59b60279157ae4f49b9e (patch)
tree0c2102ade8fbbaa83653f24624851d4b103e57be
parent0c64a86ebec8844a3aadbe44265776767d810aae (diff)
downloadinvidious-3d77642a1e2a94c1314a59b60279157ae4f49b9e.tar.gz
invidious-3d77642a1e2a94c1314a59b60279157ae4f49b9e.tar.bz2
invidious-3d77642a1e2a94c1314a59b60279157ae4f49b9e.zip
Disable decrypt_polling by default + add comment (#3244)
-rw-r--r--config/config.example.yml7
-rw-r--r--src/invidious/config.cr2
2 files changed, 6 insertions, 3 deletions
diff --git a/config/config.example.yml b/config/config.example.yml
index 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.cr
index 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 channel
property full_refresh : Bool = false
# Used to tell Invidious it is behind a proxy, so links to resources should be https://