Commit 1f0609b4 authored by Marc Gravell's avatar Marc Gravell

lose a lock

parent f30186c0
......@@ -290,7 +290,7 @@ protected IServer GetAnyMaster(ConnectionMultiplexer muxer)
muxer.Connecting += (e, t) => Writer.WriteLine($"Connecting to {Format.ToString(e)} as {t}");
if (logTransactionData)
{
muxer.TransactionLog += msg => { lock (Writer) { Writer.WriteLine("tran: " + msg); } };
muxer.TransactionLog += msg => { Writer.WriteLine("tran: " + msg); };
}
muxer.InfoMessage += msg => Writer.WriteLine(msg);
muxer.Resurrecting += (e, t) => Writer.WriteLine($"Resurrecting {Format.ToString(e)} as {t}");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment