« get me outta code hell

Merge branch 'preview' into url-path-cleanup - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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
commit3242ebb15aa0176e62a0e233d05e61e0f35a792c (patch)
tree3c45884c80b54bb6a1190ff74558af83bc0ee0d6 /src
parentba8a441f95481e294d414a0c89e2513f82f45a7a (diff)
parent41d35c9b3c22b20cf3291563d299b9d1f347927d (diff)
Merge branch 'preview' into url-path-cleanup
Diffstat (limited to 'src')
-rwxr-xr-xsrc/upd8.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 9f0b2db..0d9ec71 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;