public static Task<double> Increment(RedisKey key, RedisValue field, double value)
{
var connections = SharedCache.Instance.GetWriteConnections(key);
Task<double> result = null;
foreach (var connection in connections)
{
Task<double> task = connection
.GetDatabase(SharedCache.Instance.Db)
.HashIncrementAsync(key, field, value);
if (null == result)
result = task;
}
return result;
}