diff options
-rw-r--r-- | lib/WWW/FairViewer.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/WWW/FairViewer.pm b/lib/WWW/FairViewer.pm index 8a978d4..dd867b5 100644 --- a/lib/WWW/FairViewer.pm +++ b/lib/WWW/FairViewer.pm @@ -569,9 +569,9 @@ 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}{statusClass} // '') eq 'success' } } + 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}{statusClass} // '') eq 'success' } } #~ grep { $args{lax} ? 1 : !exists($_->[1]{stats}{error}) } grep { lc($_->[1]{type} // '') eq 'https' } @$instances; #>>> |