Commit Graph

22 Commits

Author SHA1 Message Date
erri120
37683d73a5 Return null instead of Hash.Empty on exception during hashing 2021-01-09 19:44:52 +01:00
Unnoen
5d9677dbd1
Optimise SQL database store and IO
* Remove unnecessary ROWID from tables.
* Set JOURNAL_MODE to MEMORY, reducing disk IO.
* VACUUM databases after install/compile.
2021-01-07 02:47:59 +11:00
Timothy Baldridge
13eef5c695 Remove RocksDB (replaced with SQLite) 2021-01-05 15:09:32 -07:00
Timothy Baldridge
0638612e0d Converted Common to .net 5.0 2020-12-31 16:39:28 -07:00
Justin Swanson
b77fa3d0c7 Made RocksDB initialization lazier
Was causing problems, as it's a singleton across the entire computer, so eagerly initializing them was causing problems for users of Wabbajack.Common that weren't interested in RocksDB.  Only one could run at a time.
2020-08-14 07:16:09 -05:00
Unnoen
a4254af3c9
Utilize hash cache on install. 2020-08-07 18:29:20 +10:00
Timothy Baldridge
81b819009d WIP 2020-08-03 20:42:19 -06:00
Timothy Baldridge
0933e15c9e Several small tweaks for auto healing 2020-05-30 15:05:26 -06:00
Timothy Baldridge
191f321dc2 VirtualFile now useses Async IO exclusively 2020-05-25 10:30:47 -06:00
Timothy Baldridge
ea08c9865d Common and BSA routines now use async IO exclusively 2020-05-25 10:24:16 -06:00
Timothy Baldridge
68a05a011d Provide better feedback during hashing 2020-05-16 15:27:23 -06:00
Timothy Baldridge
80b98935fa Move xxHash and VFS cache data into RocksDB so we don't pollute folders and can cache more files 2020-05-12 15:28:09 -06:00
Timothy Baldridge
5f35166895 Fix hash return values 2020-04-26 07:37:57 -06:00
Timothy Baldridge
bb9ef89dee BSA archives are now lazily extracted.
7Zip extracted archives now only extract the fewest files required.
Audited the uses of .Wait
Lazily init the VFS cleaning
2020-04-16 21:52:19 -06:00
Timothy Baldridge
45716c76e0 Test downloading and indexing jobs 2020-04-09 06:46:33 -06:00
Justin Swanson
21b52fb361 Enabled nullability for Wabbajack.Common 2020-04-03 18:23:13 -05:00
Timothy Baldridge
129f6b4fc2 Cleaned up a bunch of warnings and errors 2020-04-03 16:40:52 -06:00
Timothy Baldridge
9d3af1db5c All downloader tests pass 2020-04-03 16:40:51 -06:00
Timothy Baldridge
31c808deea Tests for path/hash serialization 2020-04-03 16:40:20 -06:00
Timothy Baldridge
035e376a09 Only 246 errors left in Wabbajack.Lib 2020-04-03 16:38:05 -06:00
Timothy Baldridge
b37728eefd Tons of WIP changes for paths 2020-04-03 16:37:27 -06:00
Timothy Baldridge
3b895f4dbb WIP, converted Hashes to a Hash struct 2020-04-03 16:37:27 -06:00