Ejemplo n.º 1
0
 public RedisLockManager(string keySpace)
     : base(keySpace, RedisConfig.Get(keySpace, "Server"), RedisConfig.Get(keySpace, "Port"))
 {
     LockExpirySeconds = TimeSpan.FromSeconds(Convert.ToDouble(RedisConfig.Get(keySpace, "RedisLockExpirySeconds")));
 }
Ejemplo n.º 2
0
 public RedisCacheManager(string keySpace)
     : base(keySpace, RedisConfig.Get(keySpace, "Server"), RedisConfig.Get(keySpace, "Port"))
 {
     AbsoluteExpirationRelativeToNow = TimeSpan.FromSeconds(Convert.ToDouble(RedisConfig.Get(keySpace, "DefaultExpirySeconds")));
 }