Commit 9a4e4087 authored by Marc Gravell's avatar Marc Gravell

Merge pull request #303 from regiuskornel/master

Fixed IServer.Hang command in RedisServer. Database number is not nee…
parents 3d817bf4 b601f417
...@@ -136,7 +136,7 @@ void IServer.Crash() ...@@ -136,7 +136,7 @@ void IServer.Crash()
} }
void IServer.Hang(TimeSpan duration, CommandFlags flags) void IServer.Hang(TimeSpan duration, CommandFlags flags)
{ {
var msg = Message.Create(0, flags, RedisCommand.CLIENT, RedisLiterals.PAUSE, (long)duration.TotalMilliseconds); var msg = Message.Create(-1, flags, RedisCommand.CLIENT, RedisLiterals.PAUSE, (long)duration.TotalMilliseconds);
ExecuteSync(msg, ResultProcessor.DemandOK); ExecuteSync(msg, ResultProcessor.DemandOK);
} }
} }
......
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