mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Implement validation cache
This commit is contained in:
parent
9d74b121e4
commit
d85f16cda4
@ -1,11 +1,12 @@
|
||||
### Changelog
|
||||
|
||||
#### Version - 3.0.2.0 - 10/14/2022
|
||||
#### Version - 3.0.2.0 - 10/19/2022
|
||||
* Show Modlist readmes after install
|
||||
* Basic support for commandline options in the WPF app
|
||||
* Re-add support for file associations of Wabbajack and .wabbajack files (thanks erri!)
|
||||
* Update to the latest game finder libraries
|
||||
* Add some debugging messages for when zEdit merge fails
|
||||
* Add caching of archive validation to remove the random failures during compilation
|
||||
|
||||
#### Version - 3.0.1.9 - 10/4/2022
|
||||
* Lots of compiler improvements for faster compilation
|
||||
|
@ -75,7 +75,7 @@ public static class ServiceExtensions
|
||||
|
||||
service.AddSingleton<IVerificationCache>(s => options.UseLocalCache
|
||||
? new VerificationCache(s.GetRequiredService<ILogger<VerificationCache>>(), s.GetService<TemporaryFileManager>()!.CreateFile().Path, TimeSpan.FromDays(1))
|
||||
: new VerificationCache(s.GetRequiredService<ILogger<VerificationCache>>(),KnownFolders.WabbajackAppLocal.Combine("VerificationCache"), TimeSpan.FromDays(1)));
|
||||
: new VerificationCache(s.GetRequiredService<ILogger<VerificationCache>>(),KnownFolders.WabbajackAppLocal.Combine("VerificationCache.sqlite"), TimeSpan.FromDays(1)));
|
||||
|
||||
service.AddSingleton(new ParallelOptions {MaxDegreeOfParallelism = Environment.ProcessorCount});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user