Ejemplo n.º 1
0
        public static bool Test()
        {
            bool r = true;

            try
            {
                Helper_Redis.Using(rs => { rs.Use(current); });
            }
            catch (Exception e)
            {
                Helper_log.Write_Error("[Redis] test fail " + e.Message);
                r = false;
            }
            if (r)
            {
                Helper_log.Write_log("[Redis] test ok.");
            }
            return(r);
        }