diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-01-10 20:32:21 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-01-10 20:32:33 -0400 |
commit | 6542cd53226993bb035f5f27d2aa66fc7b6cdd05 (patch) | |
tree | b4e757ae5b511faa62e2188f2c74bbbafec1e503 /src/upd8.js | |
parent | cb25a588edc760ea98fba91746cd5be2f1c3ca0b (diff) |
set default queueSize to 500 (from no limit)
Diffstat (limited to 'src/upd8.js')
-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 51b098fd..6a4584a6 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2123,11 +2123,10 @@ async function main() { if (noBuild) return; - // 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. - queueSize = +(miscOptions['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 = +(miscOptions['queue-size'] ?? 500); const buildDictionary = pageSpecs; |