diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-10-17 08:59:57 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-17 08:59:57 -0500 |
| commit | 352def9012790ab97252715697291ba4c0ebec01 (patch) | |
| tree | 0b8d6e2340ce40818ddbbea2de0db4019b5e45a3 /src/slskd/Integrations | |
| parent | 593308d4e786cd569e3a683f5b02b8f13aa39b23 (diff) | |
| parent | 9379a1fa3af07bab44b81752fe808cb9ca94be7a (diff) | |
| download | slskd-352def9012790ab97252715697291ba4c0ebec01.tar.gz | |
Merge pull request #697 from slskd/agent
Add the ability to 'network' multiple copies of slskd together (enable remote shares)
Diffstat (limited to 'src/slskd/Integrations')
| -rw-r--r-- | src/slskd/Integrations/FTP/FTPService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Integrations/FTP/FTPService.cs b/src/slskd/Integrations/FTP/FTPService.cs index 32b8b253..11fa9709 100644 --- a/src/slskd/Integrations/FTP/FTPService.cs +++ b/src/slskd/Integrations/FTP/FTPService.cs @@ -73,7 +73,7 @@ namespace slskd.Integrations.FTP await Retry.Do( task: () => AttemptUploadAsync(filename), isRetryable: (attempts, ex) => true, - onFailure: (attempts, ex) => Log.LogInformation("Failed attempt {Attempts} to upload {Filename} to FTP: {Message}", attempts, fileAndParentDirectory, ex.Message), + onFailure: (attempts, ex) => Log.LogInformation("Failed attempt #{Attempts} to upload {Filename} to FTP: {Message}", attempts, fileAndParentDirectory, ex.Message), maxAttempts: FtpOptions.RetryAttempts, maxDelayInMilliseconds: 30000); } |
