Skip to content

Commit

Permalink
Reduce cache storage cleanup capacity threshold to 70%
Browse files Browse the repository at this point in the history
  • Loading branch information
TimCsaky committed Jun 26, 2024
1 parent 7c3a0c3 commit 50803cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/cacheCleaner.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { join } = require('path');

const log = require('./src/components/log')(module.filename);

const RATIO = 0.8; // Best practice is to keep the cache no more than 80% full
const RATIO = 0.7; // Best practice is to keep the cache no more than 70% full

const osTempDir = realpathSync(tmpdir());
const cacheDir = (() => {
Expand Down

0 comments on commit 50803cc

Please sign in to comment.