diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-01-10 20:36:15 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-01-10 20:36:15 -0400 |
commit | 3242ebb15aa0176e62a0e233d05e61e0f35a792c (patch) | |
tree | 3c45884c80b54bb6a1190ff74558af83bc0ee0d6 | |
parent | ba8a441f95481e294d414a0c89e2513f82f45a7a (diff) | |
parent | 41d35c9b3c22b20cf3291563d299b9d1f347927d (diff) |
Merge branch 'preview' into url-path-cleanup
-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; |