0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-02 13:48:53 +02:00

modules/console: Minor fixes.

This commit is contained in:
Jason Volk 2018-04-07 02:00:08 -07:00
parent fceb9efc7c
commit ac0d7e9a78

View file

@ -2116,7 +2116,7 @@ console_cmd__fed__send(opt &out, const string_view &line)
const m::event::id &event_id
{
param.at(2)
param.at(1)
};
const m::event::fetch event
@ -2303,6 +2303,7 @@ console_cmd__fed__sync(opt &out, const string_view &line)
vmopts.history = false;
vmopts.notify = false;
vmopts.debuglog_accept = true;
vmopts.nothrows = -1;
m::vm::eval eval
{
vmopts
@ -2564,8 +2565,11 @@ console_cmd__fed__event(opt &out, const string_view &line)
m::v1::event::opts opts;
opts.remote = remote;
const unique_buffer<mutable_buffer> buf
{
96_KiB
};
thread_local char buf[8_KiB];
m::v1::event request
{
event_id, buf, std::move(opts)