Enter meltdown mode if ProgramMaxWorkers triggers

This commit is contained in:
Justine Tunney 2022-08-05 15:42:17 -07:00
parent 9c06067c84
commit c9d7838213
2 changed files with 11 additions and 5 deletions

View file

@ -741,10 +741,10 @@ FUNCTIONS
Turns Lua data structure into JSON string.
Since Lua uses tables are both hashmaps and arrays, we use a
simple fast algorithm for telling the two apart. Tables with
non-zero length (as reported by `#`) are encoded as arrays,
and any non-array elements are ignored. For example:
Since Lua tables are both hashmaps and arrays, we use a simple
fast algorithm for telling the two apart. Tables with non-zero
length (as reported by `#`) are encoded as arrays, and any
non-array elements are ignored. For example:
>: EncodeJson({2})
"[2]"