Exemplo n.º 1
0
        /*-------End of Add operation-----------------------------------------------------------------------------------------------------------------------------------------------*/

        public void ResetExpiry(string key, DateTime utcExpiry, string regionName = null)
        {
            key = GetKeyForRedis(key, regionName);
            redisConnection.Expiry(key, (int)(utcExpiry - DateTime.UtcNow).TotalSeconds);
        }