diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/upd8.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/upd8.js b/src/upd8.js index 9f0b2dba..0d9ec718 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -245,11 +245,10 @@ async function main() { const precacheData = cliOptions['precache-data'] ?? false; const showInvalidPropertyAccesses = cliOptions['show-invalid-property-accesses'] ?? false; - // Makes writing a little nicer on CPU theoretically, 8ut also costs in - // performance right now 'cuz it'll w8 for file writes to 8e completed - // 8efore moving on to more data processing. So, defaults to zero, which - // disa8les the queue feature altogether. - const queueSize = +(cliOptions['queue-size'] ?? 0); + // Makes writing nicer on the CPU and file I/O parts of the OS, with a + // marginal performance deficit while waiting for file writes to finish + // before proceeding to more page processing. + const queueSize = +(cliOptions['queue-size'] ?? 500); { let errored = false; |