From 6a6005ca4c81c17a8258a21a2bc0a84c736ccef5 Mon Sep 17 00:00:00 2001 From: Arionum Date: Sun, 19 Aug 2018 23:02:06 +0300 Subject: [PATCH] tuning --- sanity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanity.php b/sanity.php index 537dec6..39f9ac5 100755 --- a/sanity.php +++ b/sanity.php @@ -248,8 +248,8 @@ $total_active_peers = 0; // checking peers // delete the dead peers -$db->run("DELETE from peers WHERE fails>40 OR stuckfail>100"); -$r = $db->run("SELECT id,hostname,stuckfail,fails FROM peers WHERE reserve=0 AND blacklistedrun("DELETE from peers WHERE fails>100 OR stuckfail>100"); +$r = $db->run("SELECT id,hostname,stuckfail,fails FROM peers WHERE reserve=0 AND blacklisted