private static void ClearRedisServer() { using (ServiceStack.Redis.IRedisClient client = GlobalVariable.RedisClient) { client.FlushAll(); } }