0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

modules/federation/send: Tweak pdu eval opts.

This commit is contained in:
Jason Volk 2019-09-13 13:32:20 -07:00
parent e3d0eb34fe
commit 4e0db779f7

View file

@ -71,11 +71,12 @@ handle_pdus(client &client,
const json::array &pdus)
{
m::vm::opts vmopts;
vmopts.node_id = request.origin;
vmopts.warnlog = 0;
vmopts.infolog_accept = true;
vmopts.nothrows = -1U;
vmopts.nothrows &= ~m::vm::fault::INTERRUPT;
vmopts.warnlog &= ~m::vm::fault::EXISTS;
vmopts.infolog_accept = true;
vmopts.node_id = request.origin;
vmopts.fetch_state = false;
m::vm::eval eval
{
pdus, vmopts