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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user