public async Task PingAsync() { var redis = await _redisConnectionFactory.ConnectAsync(); var redisDb = redis.GetDatabase(); for (int i = 0; i < CountOfPing; i++) { await redisDb.PingAsync(); } }
public async Task PingAsync() { var redis = await _redisConnectionFactory.ConnectAsync(); var redisDb = redis.GetDatabase(); for (int i = 0; i < CountOfPing; i++) { await redisDb.PingAsync(); } }