[CHANGE] Updated settings and added warning messages

This commit is contained in:
max
2025-08-31 15:52:30 +02:00
parent d4d5ef1846
commit aeb9adf930
4 changed files with 11 additions and 5 deletions

View File

@@ -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;
}