diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-01-22 22:19:06 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-01-22 22:19:06 -0600 |
| commit | 1340ffa52dd3aaa63840f9e36f3e6fb495d97a86 (patch) | |
| tree | 118a977f218c0dd40c191ad9a0d9e68ff46e54e8 /src/slskd/Relay/API/Controllers/RelayController.cs | |
| parent | c23f95ab47c052bff94d08053c25fca53e97e601 (diff) | |
| download | slskd-1340ffa52dd3aaa63840f9e36f3e6fb495d97a86.tar.gz | |
polish RelayService
Diffstat (limited to 'src/slskd/Relay/API/Controllers/RelayController.cs')
| -rw-r--r-- | src/slskd/Relay/API/Controllers/RelayController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Relay/API/Controllers/RelayController.cs b/src/slskd/Relay/API/Controllers/RelayController.cs index ee282b17..586cbbb2 100644 --- a/src/slskd/Relay/API/Controllers/RelayController.cs +++ b/src/slskd/Relay/API/Controllers/RelayController.cs @@ -235,7 +235,7 @@ namespace slskd.Relay // pass the stream back to the relay service, which will in turn pass it to the upload service, and use it to // feed data into the remote upload. await this call, it will complete when the upload is complete, one way or the other. - await Relay.HandleFileStreamResponse(agentName, id: guid, stream); + await Relay.HandleFileStreamResponseAsync(agentName, id: guid, stream); Log.Information("File upload of {Filename} ({Token}) from agent {Agent} complete", filename, token, agentName); return Ok(); @@ -321,7 +321,7 @@ namespace slskd.Relay Log.Information("Download of shares from {Agent} ({Token}) complete ({Size} in {Duration}ms)", agentName, guid, ((double)inputStream.Length).SizeSuffix(), sw.ElapsedMilliseconds); - await Relay.HandleShareUpload(agentName, id: guid, shares, temp); + await Relay.HandleShareUploadAsync(agentName, id: guid, shares, temp); return Ok(); } |
