mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
add periodic file scanner, parallelize downloads, fix transient files being readded when not necessary, fix disposal of players on plugin shutdown
This commit is contained in:
parent
25e87e6ec2
commit
0d7e173a97
20 changed files with 641 additions and 525 deletions
|
|
@ -60,6 +60,9 @@ namespace MareSynchronos
|
|||
|
||||
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
|
||||
{
|
||||
|
|
@ -207,6 +210,12 @@ namespace MareSynchronos
|
|||
Version = 5;
|
||||
Save();
|
||||
}
|
||||
|
||||
if (FileScanPaused)
|
||||
{
|
||||
FileScanPaused = false;
|
||||
Save();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue