aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrizen <trizen@protonmail.com>2020-11-19 15:53:33 +0200
committerJesús <heckyel@hyperbola.info>2020-12-02 13:01:23 -0500
commit31d3064c72d1e6c5e2ed97a517a421e4c1d6dbd8 (patch)
tree6addd224e1509a9fcb67583ab97f8d7a9716a62f
parent829f0cdfdac7c516427b9c1c9e39e6c0a45109b2 (diff)
downloadfair-viewer-31d3064c72d1e6c5e2ed97a517a421e4c1d6dbd8.tar.lz
fair-viewer-31d3064c72d1e6c5e2ed97a517a421e4c1d6dbd8.tar.xz
fair-viewer-31d3064c72d1e6c5e2ed97a517a421e4c1d6dbd8.zip
`weeklyRatio` for invidious instances is no longer available.
Signed-off-by: Jesús <heckyel@hyperbola.info>
-rw-r--r--lib/WWW/FairViewer.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/WWW/FairViewer.pm b/lib/WWW/FairViewer.pm
index 349d6a4..422a2a9 100644
--- a/lib/WWW/FairViewer.pm
+++ b/lib/WWW/FairViewer.pm
@@ -570,7 +570,7 @@ sub select_good_invidious_instances {
my @candidates =
grep { not $ignored{$_->[0]} }
grep { $args{lax} ? 1 : eval { lc($_->[1]{monitor}{dailyRatios}[0]{label} // '') eq 'success' } }
- grep { $args{lax} ? 1 : eval { lc($_->[1]{monitor}{weeklyRatio}{label} // '') eq 'success' } }
+ #~ grep { $args{lax} ? 1 : eval { lc($_->[1]{monitor}{weeklyRatio}{label} // '') eq 'success' } }
grep { $args{lax} ? 1 : eval { lc($_->[1]{monitor}{statusClass} // '') eq 'success' } }
#~ grep { $args{lax} ? 1 : !exists($_->[1]{stats}{error}) }
grep { lc($_->[1]{type} // '') eq 'https' } @$instances;