From 509677081604e9a0c972f6a5e5215b7e86e3fed6 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Fri, 20 Mar 2020 04:12:02 +0200 Subject: FileSystemService. --- .../PPC/Tango.PPC.Common/FileSystem/DefaultFileSystemService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/FileSystem') 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 }); } } -- cgit v1.3.1