system: filesystems in exclude are excluded from content analysis

some disks can be very slow and noisy (at home). this allows users to simply skip them.
also, applicable for large storage boxes
This commit is contained in:
Girish Ramakrishnan
2024-11-30 13:03:34 +01:00
parent 320ddfda2e
commit 2a6c52800b
6 changed files with 16 additions and 6 deletions

View File

@@ -228,7 +228,7 @@ async function domainSetup() {
}
async function setup() {
await fs.promises.rm(paths.DISK_USAGE_FILE, { force: true });
await fs.promises.rm(paths.DISK_USAGE_CACHE_FILE, { force: true });
await domainSetup();
const ownerId = await users.createOwner(admin.email, admin.username, admin.password, admin.displayName, auditSource);
admin.id = ownerId;