mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Don't report available if shutting down.
This commit is contained in:
@@ -518,6 +518,12 @@ bool serverOkay(std::string& reason)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (theApp->isShutdown())
|
||||
{
|
||||
reason = "Server is shutting down";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (theApp->getOPs().isNeedNetworkLedger())
|
||||
{
|
||||
reason = "Not synchronized with network yet";
|
||||
|
||||
Reference in New Issue
Block a user