mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 05:45:31 +02:00
Fix: Indexers that are enabled but aren't configured correctly will be skipped during rss/search
This commit is contained in:
@@ -47,7 +47,7 @@ namespace NzbDrone.Providers
|
||||
prioCheckTimer.Elapsed += EnsurePriority;
|
||||
prioCheckTimer.Enabled = true;
|
||||
|
||||
_pingTimer = new Timer(120000) { AutoReset = true };
|
||||
_pingTimer = new Timer(180000) { AutoReset = true };
|
||||
_pingTimer.Elapsed += (PingServer);
|
||||
_pingTimer.Start();
|
||||
}
|
||||
@@ -94,9 +94,10 @@ namespace NzbDrone.Providers
|
||||
{
|
||||
_pingFailCounter++;
|
||||
Logger.ErrorException("Application pool is not responding. Count " + _pingFailCounter, ex);
|
||||
if (_pingFailCounter > 2)
|
||||
if (_pingFailCounter > 4)
|
||||
{
|
||||
_iisProvider.RestartServer();
|
||||
_pingFailCounter = 0;
|
||||
//_iisProvider.RestartServer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user