Improve names returned by server_info counters

This commit is contained in:
Scott Schurr
2021-11-15 19:07:22 -08:00
committed by manojsdoshi
parent fc04336caa
commit d54f6278bb
8 changed files with 100 additions and 81 deletions

View File

@@ -382,7 +382,7 @@ ShardArchiveHandler::next(std::lock_guard<std::mutex> const& l)
return onClosureFailed(
"failed to wrap closure for starting download", l);
app_.getJobQueue().addJob(jtCLIENT, "ShardArchiveHandler", *wrapper);
app_.getJobQueue().addJob(jtCLIENT_SHARD, "ShardArchiveHandler", *wrapper);
return true;
}
@@ -465,7 +465,7 @@ ShardArchiveHandler::complete(path dstPath)
}
// Process in another thread to not hold up the IO service
app_.getJobQueue().addJob(jtCLIENT, "ShardArchiveHandler", *wrapper);
app_.getJobQueue().addJob(jtCLIENT_SHARD, "ShardArchiveHandler", *wrapper);
}
void