Fixed usage of timeout

This commit is contained in:
Eric Fontana
2015-04-09 13:04:22 -04:00
parent 8b431f92eb
commit 349b0bf031

View File

@@ -150,12 +150,13 @@ namespace TimberWinR.Outputs
{
try
{
RedisClient client = new RedisClient(_redisHosts[_redisHostIndex], _port);
client.SendTimeout = _timeout;
RedisClient client = new RedisClient(_redisHosts[_redisHostIndex], _port);
return client;
}
catch (Exception)
catch (Exception ex)
{
LogManager.GetCurrentClassLogger().Error(ex);
}
finally
{