diff options
author | trizen <trizen@protonmail.com> | 2020-09-06 10:54:55 +0300 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-09-14 10:52:32 -0500 |
commit | 185bc58f0d53dcf16255d5c206758c1aedf623ba (patch) | |
tree | ccb7b1b88d14d53e10d2bfb8949e91a4d3a33f3c /lib/WWW/FairViewer/Subscriptions.pm | |
parent | d2400a5ce2a21b720018799cf242026e1cd5d32f (diff) | |
download | fair-viewer-185bc58f0d53dcf16255d5c206758c1aedf623ba.tar.lz fair-viewer-185bc58f0d53dcf16255d5c206758c1aedf623ba.tar.xz fair-viewer-185bc58f0d53dcf16255d5c206758c1aedf623ba.zip |
- Added support for automatically picking an invidious instance.
Provided via:
fair-viewer --api=auto
or by setting in the configuration file:
api_host => "auto",
The list of instances ("instances.json") is cached locally and updated automatically every hour.
In order to distribute the load evenly across the invidious instances, when "api_host" is set to "auto", fair-viewer will pick a random instance every time the program is started.
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'lib/WWW/FairViewer/Subscriptions.pm')
0 files changed, 0 insertions, 0 deletions