« get me outta code hell

Merge branch 'staging' into preview - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-01-10 20:34:16 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-01-10 20:34:16 -0400
commit94b049ee00e12e984ab92794b03b3fe51cfb2adc (patch)
treeacdea26ec21648b6d901801e7bd10ccc8976cdb0
parentbfc26e34ece45983ecd96e44fe5a54a3e1d9adca (diff)
parent6542cd53226993bb035f5f27d2aa66fc7b6cdd05 (diff)
Merge branch 'staging' into preview
-rwxr-xr-xsrc/upd8.js9
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;