bump version, increase timespan for re-checking queue

This commit is contained in:
rootdarkarchon
2023-01-15 01:41:17 +01:00
parent aaf11043fe
commit f5f9b9c6fc
3 changed files with 4 additions and 4 deletions

Submodule MareAPI updated: bd4c360a4f...f1c0fc76a9

View File

@@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<Authors></Authors> <Authors></Authors>
<Company></Company> <Company></Company>
<Version>0.6.1</Version> <Version>0.6.2</Version>
<Description></Description> <Description></Description>
<Copyright></Copyright> <Copyright></Copyright>
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl> <PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>

View File

@@ -56,7 +56,7 @@ public partial class ApiController
{ {
while (!ct.IsCancellationRequested) while (!ct.IsCancellationRequested)
{ {
await Task.Delay(250, ct).ConfigureAwait(false); await Task.Delay(500, ct).ConfigureAwait(false);
var queueResponse = await SendRequestAsync<object>(HttpMethod.Get, MareFiles.RequestCheckQueueFullPath(fileTransfer.DownloadUri, requestId)).ConfigureAwait(false); var queueResponse = await SendRequestAsync<object>(HttpMethod.Get, MareFiles.RequestCheckQueueFullPath(fileTransfer.DownloadUri, requestId)).ConfigureAwait(false);
try try
{ {
@@ -83,7 +83,7 @@ public partial class ApiController
break; break;
} }
await Task.Delay(TimeSpan.FromSeconds(1)).ConfigureAwait(false); await Task.Delay(TimeSpan.FromSeconds(5)).ConfigureAwait(false);
} }
} }