forevermempool fix

This commit is contained in:
Akinwale Ariwodola 2017-09-05 09:46:31 +01:00
parent 5acd8f6039
commit a19e3abd07

View file

@ -1298,7 +1298,11 @@ class BlockShell extends Shell {
}
}
} catch (\Exception $e) {
echo "Error occurred processing mempool: " . $e->getMessage() . "\n";
echo "Mempool database error. Attempting to reconnect.\n";
// Final fix for MySQL server has gone away (hopefully)
$conn->disconnect();
$conn->connect();
}
echo "*******************\n";