perf(torrents): ability to disable integrity check on torrents adding torrents #47

This option will optimize db usage performance on big databases
This commit is contained in:
Alexey Kasyanchuk
2018-08-06 17:56:21 +03:00
parent 3743a60bec
commit e7b035a1a8
6 changed files with 68 additions and 33 deletions

View File

@ -59,6 +59,7 @@ let config = {
cleanupDiscLimit: 7 * 1024 * 1024 * 1024,
spaceQuota: false,
spaceDiskLimit: 7 * 1024 * 1024 * 1024,
recheckFilesOnAdding: true,
dbPath: '',