mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
performance optimizations
This commit is contained in:
parent
afb1cf1429
commit
a75ff627b8
8 changed files with 45 additions and 104 deletions
|
|
@ -57,26 +57,12 @@ namespace MareSynchronos
|
|||
public Dictionary<string, string> ClientSecret { get; set; } = new();
|
||||
public Dictionary<string, string> CustomServerList { get; set; } = new();
|
||||
public int MaxLocalCacheInGiB { get; set; } = 20;
|
||||
|
||||
public bool ReverseUserSort { get; set; } = true;
|
||||
|
||||
public int TimeSpanBetweenScansInSeconds { get; set; } = 30;
|
||||
public bool FileScanPaused { get; set; } = false;
|
||||
|
||||
public bool InitialScanComplete { get; set; } = false;
|
||||
public int MaxParallelScan
|
||||
{
|
||||
get => _maxParallelScan;
|
||||
set
|
||||
{
|
||||
_maxParallelScan = value switch
|
||||
{
|
||||
< 0 => 1,
|
||||
> 20 => 10,
|
||||
_ => value
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
public bool FullPause { get; set; } = false;
|
||||
public Dictionary<string, Dictionary<string, string>> UidServerComments { get; set; } = new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue