From 6542cd53226993bb035f5f27d2aa66fc7b6cdd05 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 10 Jan 2023 20:32:21 -0400 Subject: set default queueSize to 500 (from no limit) --- src/upd8.js | 9 ++++----- 1 file 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; -- cgit 1.3.0-6-gf8a5 From 2803b20313cc4c3aa008bdbcd3abd407405ce91f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 10 Jan 2023 20:34:44 -0400 Subject: whoops --- src/upd8.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upd8.js b/src/upd8.js index 6a4584a6..920f9039 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2126,7 +2126,7 @@ async function main() { // 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); + queueSize = +(miscOptions['queue-size'] ?? 500); const buildDictionary = pageSpecs; -- cgit 1.3.0-6-gf8a5