forevermempool fix
This commit is contained in:
parent
5acd8f6039
commit
a19e3abd07
1 changed files with 5 additions and 1 deletions
|
@ -1298,7 +1298,11 @@ class BlockShell extends Shell {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} 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";
|
echo "*******************\n";
|
||||||
|
|
Loading…
Reference in a new issue