mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 07:25:51 +00:00
thread name
This commit is contained in:
@@ -899,7 +899,7 @@ TaggedCache<
|
|||||||
std::lock_guard<std::recursive_mutex> const&)
|
std::lock_guard<std::recursive_mutex> const&)
|
||||||
{
|
{
|
||||||
return std::thread([&, this]() {
|
return std::thread([&, this]() {
|
||||||
beast::setCurrentThreadName("sweep-KeyValueCache-base");
|
beast::setCurrentThreadName("sweep-KVCache");
|
||||||
|
|
||||||
int cacheRemovals = 0;
|
int cacheRemovals = 0;
|
||||||
int mapRemovals = 0;
|
int mapRemovals = 0;
|
||||||
@@ -990,7 +990,7 @@ TaggedCache<
|
|||||||
std::lock_guard<std::recursive_mutex> const&)
|
std::lock_guard<std::recursive_mutex> const&)
|
||||||
{
|
{
|
||||||
return std::thread([&, this]() {
|
return std::thread([&, this]() {
|
||||||
beast::setCurrentThreadName("sweep-KeyOnlyCache-base");
|
beast::setCurrentThreadName("sweep-KCache");
|
||||||
|
|
||||||
int cacheRemovals = 0;
|
int cacheRemovals = 0;
|
||||||
int mapRemovals = 0;
|
int mapRemovals = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user