mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 21:18:08 +01:00
Include the name of the calling thread when a command times out.
This commit is contained in:
committed by
Jon Chambers
parent
325e65db7f
commit
fb9aa672c9
@@ -97,7 +97,7 @@ public class FaultTolerantPubSubConnection<K, V> {
|
||||
|
||||
private void recordCommandTimeout(final RedisCommandTimeoutException e) {
|
||||
commandTimeoutMeter.mark();
|
||||
log.warn("Command timeout exception ({}-pubsub)", this.name, e);
|
||||
log.warn("[{}] Command timeout exception ({}-pubsub)", Thread.currentThread().getName(), this.name, e);
|
||||
|
||||
if (wroteThreadDump.compareAndSet(false, true)) {
|
||||
ThreadDumpUtil.writeThreadDump();
|
||||
|
||||
@@ -163,7 +163,7 @@ public class FaultTolerantRedisCluster {
|
||||
|
||||
private void recordCommandTimeout(final RedisCommandTimeoutException e) {
|
||||
commandTimeoutMeter.mark();
|
||||
log.warn("Command timeout exception ({})", this.name, e);
|
||||
log.warn("[{}] Command timeout exception ({})", Thread.currentThread().getName(), this.name, e);
|
||||
|
||||
if (wroteThreadDump.compareAndSet(false, true)) {
|
||||
ThreadDumpUtil.writeThreadDump();
|
||||
|
||||
Reference in New Issue
Block a user