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