Commit 4ac77037 authored by Marc Gravell's avatar Marc Gravell

naming is hard

parent 40c5d21d
......@@ -9,6 +9,6 @@ public class RedisConnectionHandler : ConnectionHandler
private readonly RespServer _server;
public RedisConnectionHandler(RespServer server) => _server = server;
public override Task OnConnectedAsync(ConnectionContext connection)
=> _server.RunClient(connection.Transport);
=> _server.RunClientAsync(connection.Transport);
}
}
......@@ -188,7 +188,7 @@ protected int TcpPort()
private Action<object> _runClientCallback;
// KeepAlive here just to make the compiler happy that we've done *something* with the task
private Action<object> RunClientCallback => _runClientCallback ??
(_runClientCallback = state => GC.KeepAlive(RunClient((IDuplexPipe)state)));
(_runClientCallback = state => GC.KeepAlive(RunClientAsync((IDuplexPipe)state)));
public void Listen(
EndPoint endpoint,
......@@ -295,7 +295,7 @@ protected virtual void Dispose(bool disposing)
}
}
public async Task RunClient(IDuplexPipe pipe)
public async Task RunClientAsync(IDuplexPipe pipe)
{
Exception fault = null;
RedisClient client = null;
......
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