ctstone / csredis

.NET client for Redis and Redis Sentinel (2.8). Includes both synchronous and asynchronous clients.
Other
292 stars 111 forks source link

Connect Timeout TODO #41

Open yildizseli opened 7 years ago

yildizseli commented 7 years ago

Hi,

Is there any plan to update RedisSentinelClient connect timeout (TODO issue)?

    /// <summary>
    /// Connect to the remote host
    /// </summary>
    /// <param name="timeout">Connection timeout in milliseconds</param>
    /// <returns>True if connected</returns>
    public bool Connect(int timeout)
    {
        return _connector.Connect(); // TODO: timeout
    }

Regards