upload timeout 100s->300s

This commit is contained in:
rootdarkarchon
2023-04-06 01:53:54 +02:00
parent 1e9d4998ce
commit e96c652e64
4 changed files with 6 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ public class FileTransferOrchestrator : DisposableMediatorSubscriberBase
_mareConfig = mareConfig;
_serverManager = serverManager;
_httpClient = new();
_httpClient.Timeout = TimeSpan.FromSeconds(300);
_availableDownloadSlots = mareConfig.Current.ParallelDownloads;
_downloadSemaphore = new(_availableDownloadSlots);