0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 16:04:15 +01:00

ircd:Ⓜ️ Increase stream buffer sizes for pretty(event).

This commit is contained in:
Jason Volk 2018-04-25 23:34:39 -07:00
parent bf68626712
commit 78a5442230

View file

@ -165,7 +165,7 @@ ircd::m::pretty(const event::prev &prev)
{
std::string ret;
std::stringstream s;
pubsetbuf(s, ret, 2048);
pubsetbuf(s, ret, 4096);
const auto out{[&s]
(const string_view &key, auto&& val)
@ -251,7 +251,7 @@ ircd::m::pretty(const event &event)
{
std::string ret;
std::stringstream s;
pubsetbuf(s, ret, 2048);
pubsetbuf(s, ret, 4096);
const auto out{[&s]
(const string_view &key, auto&& val)