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>
<Authors></Authors>
<Company></Company>
<Version>0.6.1</Version>
<Version>0.6.2</Version>
<Description></Description>
<Copyright></Copyright>
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>

View File

@@ -56,7 +56,7 @@ public partial class ApiController
{
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);
try
{
@@ -83,7 +83,7 @@ public partial class ApiController
break;
}
await Task.Delay(TimeSpan.FromSeconds(1)).ConfigureAwait(false);
await Task.Delay(TimeSpan.FromSeconds(5)).ConfigureAwait(false);
}
}