mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +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