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
+1 -1
View File
@@ -130,7 +130,7 @@ describe('System', function () {
describe('disk usage', function () {
it('get succeeds with no cache', async function () {
safe.fs.unlinkSync(paths.DISK_USAGE_FILE);
safe.fs.unlinkSync(paths.DISK_USAGE_CACHE_FILE);
const response = await superagent.get(`${serverUrl}/api/v1/system/disk_usage`)
.query({ access_token: owner.token })