aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/FileSystem/DefaultFileSystemService.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-20 04:12:02 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-20 04:12:02 +0200
commit509677081604e9a0c972f6a5e5215b7e86e3fed6 (patch)
tree25a67aade8384b6e8f07ae9521de6b8ce5e8165d /Software/Visual_Studio/PPC/Tango.PPC.Common/FileSystem/DefaultFileSystemService.cs
parentf9d71e8443dfbf2308cc40ab6943297437265d76 (diff)
downloadTango-509677081604e9a0c972f6a5e5215b7e86e3fed6.tar.gz
Tango-509677081604e9a0c972f6a5e5215b7e86e3fed6.zip
FileSystemService.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/FileSystem/DefaultFileSystemService.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/FileSystem/DefaultFileSystemService.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/FileSystem/DefaultFileSystemService.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/FileSystem/DefaultFileSystemService.cs
index 804ad0036..30d473677 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/FileSystem/DefaultFileSystemService.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/FileSystem/DefaultFileSystemService.cs
@@ -131,7 +131,7 @@ namespace Tango.PPC.Common.FileSystem
_operations.Add(operation.Id, operation);
- await receiver.SendGenericResponse(new FileDownloadResponse()
+ await receiver.SendGenericResponse(new FolderDownloadResponse()
{
OperationId = operation.Id,
Length = new FileInfo(request.Path).Length
@@ -162,7 +162,7 @@ namespace Tango.PPC.Common.FileSystem
stream.Write(request.Data, 0, request.Data.Length);
}
- await receiver.SendGenericResponse(new ChunkUploadResponse(), token);
+ await receiver.SendGenericResponse(new ChunkUploadResponse(), token, new TransportResponseConfig() { Priority = QueuePriority.Low });
}
catch (Exception ex)
{
@@ -190,7 +190,7 @@ namespace Tango.PPC.Common.FileSystem
await receiver.SendGenericResponse(new ChunkDownloadResponse()
{
Data = data
- }, token);
+ }, token, new TransportResponseConfig() { Priority = QueuePriority.Low });
}
}