[CHANGE] Updated settings and added warning messages
This commit is contained in:
@@ -5,6 +5,6 @@ namespace Manager.App.Models.Settings;
|
||||
public class DownloadSettings
|
||||
{
|
||||
[ConfigurationKeyName("MaxConcurrentDownloads")]
|
||||
[Range(-1, 20)]
|
||||
public int MaxConcurrentDownloads { get; set; }
|
||||
[Range(-1, 20, ErrorMessage = "Max concurrent downloads must be between 0 and 20. (0 for unlimited concurrent downloads)")]
|
||||
public int MaxConcurrentDownloads { get; set; } = 5;
|
||||
}
|
Reference in New Issue
Block a user