0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

modules/client/sync: Increase default fibers for now; relax assertion.

This commit is contained in:
Jason Volk 2019-01-25 16:19:17 -08:00
parent 54352bff36
commit 33601e88a1
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ ircd::m::sync::room_ephemeral_m_receipt_m_read_polylog(data &data)
room
};
static const size_t fibers(32); //TODO: conf
static const size_t fibers(64); //TODO: conf
using queue = std::array<string_view, fibers>;
using buffer = std::array<char[m::id::MAX_SIZE+1], fibers>;

View file

@ -105,7 +105,7 @@ ircd::m::sync::room_state_polylog_events(data &data)
event_idx, std::nothrow, _default_fopts
};
assert(event.valid);
//assert(event.valid);
if(unlikely(!event.valid))
return;