0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-14 00:34:18 +01:00

modules/client/sync: Ensure response buffer scales with large flush watermark values.

This commit is contained in:
Jason Volk 2018-11-04 18:11:55 -08:00
parent c6e2dbe55b
commit 13bea46f34

View file

@ -231,7 +231,7 @@ struct ircd::m::sync::shortpoll
unique_buffer<mutable_buffer> buf
{
96_KiB
std::max(size_t(96_KiB), size_t(flush_hiwat))
};
std::unique_ptr<resource::response::chunked> response;