[CHANGE] Moved to appsettings settings
This commit is contained in:
10
Manager.App/Models/Settings/DownloadSettings.cs
Normal file
10
Manager.App/Models/Settings/DownloadSettings.cs
Normal 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; }
|
||||
}
|
Reference in New Issue
Block a user