private async Task RemoveExpiredKeys(CancellationToken cancellationToken) { if (!cancellationToken.IsCancellationRequested) { await _redisCacheProvider.RemoveExpiredKeys().ConfigureAwait(false); } }
private async Task RemoveExpiredKeys(CancellationToken cancellationToken) { if (!cancellationToken.IsCancellationRequested) { await _redisCacheProvider.RemoveExpiredKeys().ConfigureAwait(false); } }