Compare commits

...

2 Commits

Author SHA1 Message Date
Valentin Balaschenko
c40c144bd4 thread name 2025-08-05 22:20:07 +01:00
Valentin Balaschenko
e6bb8831c6 tagging thread in base 2025-08-04 16:38:56 +01:00

View File

@@ -22,6 +22,7 @@
#include <xrpl/basics/IntrusivePointer.ipp>
#include <xrpl/basics/TaggedCache.h>
#include <xrpl/beast/core/CurrentThreadName.h>
namespace ripple {
@@ -898,6 +899,8 @@ TaggedCache<
std::lock_guard<std::recursive_mutex> const&)
{
return std::thread([&, this]() {
beast::setCurrentThreadName("sweep-KVCache");
int cacheRemovals = 0;
int mapRemovals = 0;
@@ -987,6 +990,8 @@ TaggedCache<
std::lock_guard<std::recursive_mutex> const&)
{
return std::thread([&, this]() {
beast::setCurrentThreadName("sweep-KCache");
int cacheRemovals = 0;
int mapRemovals = 0;