mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:37:23 +01:00
upload timeout 100s->300s
This commit is contained in:
parent
1e9d4998ce
commit
e96c652e64
4 changed files with 6 additions and 4 deletions
2
MareAPI
2
MareAPI
|
|
@ -1 +1 @@
|
|||
Subproject commit 22346739d2028d4244a86a8bcdc4e85dc5fb1c98
|
||||
Subproject commit 8a7640c1a13bcfc32977a4e0818754f7d080ef4e
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<Authors></Authors>
|
||||
<Company></Company>
|
||||
<Version>0.8.18</Version>
|
||||
<Version>0.8.19</Version>
|
||||
<Description></Description>
|
||||
<Copyright></Copyright>
|
||||
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>
|
||||
|
|
|
|||
|
|
@ -213,7 +213,8 @@ public sealed class CachedPlayer : DisposableMediatorSubscriberBase
|
|||
{
|
||||
await _dalamudUtil.RunOnFrameworkThread(() => _ipcManager.PenumbraRemoveTemporaryCollection(Logger, applicationId, PlayerName!)).ConfigureAwait(false);
|
||||
token.ThrowIfCancellationRequested();
|
||||
await _dalamudUtil.RunOnFrameworkThread(() => _ipcManager.PenumbraSetTemporaryMods(Logger, applicationId, PlayerName!, _charaHandler?.GameObjectLazy?.Value.ObjectTableIndex(), moddedPaths, manipulationData)).ConfigureAwait(false);
|
||||
await _dalamudUtil.RunOnFrameworkThread(() => _ipcManager.PenumbraSetTemporaryMods(Logger, applicationId, PlayerName!,
|
||||
_charaHandler?.GameObjectLazy?.Value.ObjectTableIndex(), moddedPaths, manipulationData)).ConfigureAwait(false);
|
||||
token.ThrowIfCancellationRequested();
|
||||
}
|
||||
|
||||
|
|
@ -425,7 +426,7 @@ public sealed class CachedPlayer : DisposableMediatorSubscriberBase
|
|||
}
|
||||
|
||||
var appToken = _applicationCancellationTokenSource?.Token;
|
||||
while ((!_applicationTask?.IsCompleted ?? false)
|
||||
while ((!_applicationTask?.IsCompleted ?? false)
|
||||
&& !downloadToken.IsCancellationRequested
|
||||
&& (!appToken?.IsCancellationRequested ?? false))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue