Commit Graph
3 Commits
Author SHA1 Message Date
Michael Nutt 22d7d23118 Measure Sandstorm startup and signal database and HTTP readiness
Add launcher timings and a local production-path profiling runner. Replace
the fixed database delay with listener readiness and notify the waiting
page through a held request. Include tests and profiling documentation.
2026-10-11 23:30:56 -04:00
Lauri Ojansivu 5e25090e8f Sandstorm grain logs no longer show false warnings.
start-memory.js turns Node's Web Storage off with
--no-experimental-webstorage, so Node 26 no longer prints "localStorage is
not available because --localstorage-file was not provided" into every
grain log, and it keeps an administrator's heap size or Web Storage choice
while still adding what is missing. The ROOT_URL email warning is skipped
in a grain, whose ROOT_URL is always its loopback address behind the bridge
and which has no SMTP of its own.

Thanks to xet7 !
2026-10-11 14:19:00 +03:00
Lauri Ojansivu d6427a5afb Fix Sandstorm grains crash-looping on ./start-memory.sh.
A grain has no shell: the meteor-spk 0.6.0 base ships only mongod, niscud
and node in bin/, so the pkgdef's #!/bin/sh start-memory.sh failed with
"execvp(argvp[0], argvp): No such file or directory" and no grain booted.
The memory-derived heap launcher is now start-memory.js, run by node.
start.js also no longer spawns the missing /bin/sleep, which had made every
wait return at once.

Thanks to xet7 !
2026-10-11 12:44:23 +03:00