[CHANGE] Moved to appsettings settings

This commit is contained in:
max
2025-08-18 01:08:11 +02:00
parent f784000393
commit 4dc3ffda36
6 changed files with 52 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
using System.ComponentModel.DataAnnotations;
namespace Manager.App.Models.Settings;
public class DownloadSettings
{
[ConfigurationKeyName("MaxConcurrentDownloads")]
[Range(-1, 20)]
public int MaxConcurrentDownloads { get; set; }
}