increase more timeouts

This commit is contained in:
Stanley Dimant
2024-11-22 18:34:36 +01:00
parent f2ebbd72fe
commit 6682e27e4c

View File

@@ -189,7 +189,7 @@ public sealed class CachedFileProvider : IDisposable
try try
{ {
using CancellationTokenSource cts = new(); using CancellationTokenSource cts = new();
cts.CancelAfter(TimeSpan.FromSeconds(120)); cts.CancelAfter(TimeSpan.FromSeconds(300));
_metrics.IncGauge(MetricsAPI.GaugeFilesTasksWaitingForDownloadFromCache); _metrics.IncGauge(MetricsAPI.GaugeFilesTasksWaitingForDownloadFromCache);
await downloadTask.WaitAsync(cts.Token).ConfigureAwait(false); await downloadTask.WaitAsync(cts.Token).ConfigureAwait(false);
} }