diff options
| -rw-r--r-- | config/slskd.example.yml | 2 | ||||
| -rw-r--r-- | docs/config.md | 4 | ||||
| -rw-r--r-- | src/slskd/Core/Options.cs | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml index e68baae2..1063e7f5 100644 --- a/config/slskd.example.yml +++ b/config/slskd.example.yml @@ -74,7 +74,7 @@ # slots: 500 # speed_limit: 1000 # retry: -# incomplete: resume # 'overwrite' or 'resume' +# partial: resume # 'overwrite' or 'resume' # attempts: 3 # delay: 5000 # initial time between retries, in milliseconds # max_delay: 60000 # maximum time between retries, in milliseconds diff --git a/docs/config.md b/docs/config.md index 14f1ae24..40d3a78a 100644 --- a/docs/config.md +++ b/docs/config.md @@ -362,14 +362,14 @@ transfers: Failed downloads can be retried automatically up to the configured number of attempts. If an attempt fails initially, the application delays the second attempt by the configured delay, and an exponential backoff is used to compute the delay for all subsequent events, up to the configured maximum delay. -By default, partial downloads are resumed based on the size of the incomplete file. Users can choose to always overwrite files if they wish. +By default, partial downloads are resumed based on the size of the file on disk. Users can choose to always overwrite files if they wish. **YAML** ```yaml transfers: download: retry: - incomplete: resume # 'overwrite' or 'resume' + partial: resume # 'overwrite' or 'resume' attempts: 3 delay: 5000 # initial time between retries, in milliseconds max_delay: 60000 # maximum time between retries, in milliseconds diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 83e534a1..bac86ea2 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1052,10 +1052,10 @@ namespace slskd public int MaxDelay { get; init; } = 60_000; /// <summary> - /// Gets the strategy for handling incomplete files upon retry. + /// Gets the strategy for handling partial files upon retry. /// </summary> - [Enum(typeof(RetryIncompleteStrategy))] - public string Incomplete { get; init; } = RetryIncompleteStrategy.Overwrite.ToString().ToLowerInvariant(); + [Enum(typeof(RetryPartialStrategy))] + public string Partial { get; init; } = RetryPartialStrategy.Resume.ToString().ToLowerInvariant(); } } |
