mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Make jtGENERIC work.
This commit is contained in:
@@ -148,6 +148,9 @@ const char* Job::toString (JobType t)
|
|||||||
case jtSWEEP:
|
case jtSWEEP:
|
||||||
return "sweep";
|
return "sweep";
|
||||||
|
|
||||||
|
case jtGENERIC:
|
||||||
|
return "generic";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
assert (false);
|
assert (false);
|
||||||
return "unknown";
|
return "unknown";
|
||||||
|
|||||||
@@ -109,6 +109,9 @@ Json::Value JobQueue::getJson (int)
|
|||||||
|
|
||||||
for (int i = 0; i < NUM_JOB_TYPES; ++i)
|
for (int i = 0; i < NUM_JOB_TYPES; ++i)
|
||||||
{
|
{
|
||||||
|
if (static_cast<JobType>(i) == jtGENERIC)
|
||||||
|
continue;
|
||||||
|
|
||||||
uint64 count, latencyAvg, latencyPeak;
|
uint64 count, latencyAvg, latencyPeak;
|
||||||
int jobCount, threadCount;
|
int jobCount, threadCount;
|
||||||
bool isOver;
|
bool isOver;
|
||||||
|
|||||||
Reference in New Issue
Block a user