mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Bugfixes.
This commit is contained in:
@@ -130,9 +130,9 @@ Json::Value JobQueue::getJson(int)
|
|||||||
{
|
{
|
||||||
Json::Value pri(Json::objectValue);
|
Json::Value pri(Json::objectValue);
|
||||||
pri["priority_level"] = Job::toString(static_cast<JobType>(i));
|
pri["priority_level"] = Job::toString(static_cast<JobType>(i));
|
||||||
if (count != 0)
|
|
||||||
pri["waiting"] = static_cast<int>(jobCount);
|
|
||||||
if (jobCount != 0)
|
if (jobCount != 0)
|
||||||
|
pri["waiting"] = static_cast<int>(jobCount);
|
||||||
|
if (count != 0)
|
||||||
pri["per_second"] = static_cast<int>(count);
|
pri["per_second"] = static_cast<int>(count);
|
||||||
if (latencyPeak != 0)
|
if (latencyPeak != 0)
|
||||||
pri["peak_latency"] = static_cast<int>(latencyPeak);
|
pri["peak_latency"] = static_cast<int>(latencyPeak);
|
||||||
|
|||||||
Reference in New Issue
Block a user