aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Integrations/FTP
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-02-18 18:54:53 -0600
committerJP Dillingham <jp@dillingham.me>2026-02-18 18:54:53 -0600
commitbd4393c41afcc55520be7ab8e2464bee0d55308a (patch)
tree6f5d46b93d660fa0e9d5f154b1f2bb33a4746ace /src/slskd/Integrations/FTP
parentc4574d13c454cfcef27ed29da446159e7f46f919 (diff)
downloadslskd-bd4393c41afcc55520be7ab8e2464bee0d55308a.tar.gz
specify baseDelay
Diffstat (limited to 'src/slskd/Integrations/FTP')
-rw-r--r--src/slskd/Integrations/FTP/FTPService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Integrations/FTP/FTPService.cs b/src/slskd/Integrations/FTP/FTPService.cs
index cb2b3a3f..ebf34708 100644
--- a/src/slskd/Integrations/FTP/FTPService.cs
+++ b/src/slskd/Integrations/FTP/FTPService.cs
@@ -76,6 +76,7 @@ namespace slskd.Integrations.FTP
isRetryable: (attempts, ex) => true,
onFailure: (attempts, ex) => Log.LogInformation("Failed attempt #{Attempts} to upload {Filename} to FTP: {Message}", attempts, fileAndParentDirectory, ex.Message),
maxAttempts: FtpOptions.RetryAttempts,
+ baseDelayInMilliseconds: 1000,
maxDelayInMilliseconds: 30000);
}
catch (RetryException ex)