Currently, yojson is not safe to use within domains, causing random Stdlib.Queue.Empty exceptions. The reason is that it is using Format, which uses a shared state by default.
The format issue was addressed in part by ocaml/ocaml#10453, but it requires code changes.
Currently, yojson is not safe to use within domains, causing random
Stdlib.Queue.Emptyexceptions. The reason is that it is usingFormat, which uses a shared state by default.The format issue was addressed in part by ocaml/ocaml#10453, but it requires code changes.