Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions guides/lua-scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,5 +559,6 @@ still work for client-side filtering without a zone process.
## Next Steps

- [Bots](lua-bots.md) -- add AI-controlled players to your game
- [Configuration](configuration.md) -- all Asobi configuration options
- [WebSocket Protocol](websocket-protocol.md) -- client-server message format
- [Self-hosting](self-hosting.md) -- production deployment and live updates
- [Configuration](https://asobi.dev/docs/configuration) -- all Asobi configuration options
- [WebSocket Protocol](https://asobi.dev/docs/protocols/websocket) -- client-server message format
4 changes: 2 additions & 2 deletions guides/security-trust-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ etc.) is rejected with a `terrain_provider_not_allowed` warning.

## Per-callback isolation

Most Lua callbacks run inside a child process spawned by
`asobi_lua_loader:bounded_eval/2` with a wall-clock timeout and a
Most Lua callbacks run inside a child process spawned by the loader's
`bounded_eval` wrapper with a wall-clock timeout and a
`max_heap_size: kill => true`. A runaway loop or a runaway allocation
in those callbacks crashes the child, the parent gen_server receives a
`{error, timeout | heap_exhausted}` result, and the match continues.
Expand Down
7 changes: 5 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,18 @@
<<"README.md">>,
<<"guides/lua-scripting.md">>,
<<"guides/lua-bots.md">>,
<<"guides/self-hosting.md">>,
<<"guides/security-sandbox.md">>,
<<"guides/security-trust-model.md">>,
<<"guides/security-known-limitations.md">>,
<<"SECURITY.md">>
<<"SECURITY.md">>,
<<"LICENSE">>
]},
{groups_for_extras, [
{<<"Guides">>, [
<<"guides/lua-scripting.md">>,
<<"guides/lua-bots.md">>
<<"guides/lua-bots.md">>,
<<"guides/self-hosting.md">>
]},
{<<"Security">>, [
<<"guides/security-sandbox.md">>,
Expand Down
Loading