mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 13:35:54 +00:00
Report server uptime in server_info
This commit is contained in:
@@ -2132,6 +2132,7 @@ Json::Value NetworkOPsImp::getServerInfo (bool human, bool admin)
|
||||
}
|
||||
|
||||
info[jss::state_accounting] = accounting_.json();
|
||||
info[jss::uptime] = UptimeTimer::getInstance ().getElapsedSeconds ();
|
||||
|
||||
return info;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user