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:
parent
bf68626712
commit
78a5442230
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue