mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 14:56:47 +00:00
Give the persister worker thread a meaningful name.
This commit is contained in:
1 parent
0308532523
commit
8ec1dda9ba
1 file changed
+1
-1
+1
-1
@@ -68,7 +68,7 @@ public class MessagePersister implements Managed {
|
||||
logger.warn("Failed to persist queues", t);
|
||||
}
|
||||
}
|
||||
});
|
||||
}, "MessagePersisterWorker");
|
||||
|
||||
metricRegistry.gauge(name(getClass(), "workerThreadRunning"), () -> () -> workerThread.isAlive() ? 1 : 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user