Refresh guest deadline after MySQL hostcalls

This commit is contained in:
udo
2026-07-15 09:18:35 +00:00
parent ee022f0398
commit 82aec81465
4 changed files with 77 additions and 1 deletions
+4
View File
@@ -407,6 +407,10 @@ header free-functions are `inline`. The wasm backend exposes only declarations
caller props are restored. Its warm-request ceiling guards the request-scope
invariant that entering a nested component swaps the active prop trees in
constant time instead of deep-copying the outer tree for every child.
`scripts/test_mysql_epoch_refresh.sh` spends more than half of the configured
guest epoch on each side of a real MySQL query. It proves the blocking
database hostcall refreshes the guest deadline so cumulative request work is
allowed while a CPU loop without intervening host work still traps.
- **Log timeliness**: the base process line-buffers stdout before forking
workers, the proactive compiler, and the WebSocket broker. This keeps each