mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update proxy blocking
This commit is contained in:
@@ -307,7 +307,7 @@ class BlockAbusiveServicesTest extends TestCase
|
||||
config()->set('nntmux.proxy_detection_window_seconds', 3600);
|
||||
config()->set('nntmux.proxy_detection_ratio_min', 0.8);
|
||||
config()->set('nntmux.proxy_detection_min_searches', 20);
|
||||
config()->set('nntmux.proxy_detection_indexer_referer_patterns', 'hydra,prowlarr,jackett');
|
||||
config()->set('nntmux.proxy_detection_indexer_referer_patterns', 'hydra,prowlarr');
|
||||
|
||||
$this->app->instance(
|
||||
CacheRepositoryContract::class,
|
||||
|
||||
@@ -303,7 +303,7 @@ class IndexerProxyDetectorTest extends TestCase
|
||||
config()->set('nntmux.proxy_detection_min_searches', $overrides['min_searches'] ?? 20);
|
||||
config()->set(
|
||||
'nntmux.proxy_detection_indexer_referer_patterns',
|
||||
$overrides['referer_patterns'] ?? 'hydra,prowlarr,jackett',
|
||||
$overrides['referer_patterns'] ?? 'hydra,prowlarr',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user