diff options
| -rw-r--r-- | telegram-bot-api/Client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index a2ef646..068a505 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -17711,7 +17711,7 @@ void Client::add_update_impl(UpdateType update_type, const td::VirtuallyJsonable send_closure(stat_actor_, &BotStatActor::add_event<ServerBotStat::Update>, ServerBotStat::Update{}, td::Time::now()); - const size_t BUF_SIZE = 1 << 16; + const size_t BUF_SIZE = 1 << 18; auto buf = td::StackAllocator::alloc(BUF_SIZE); td::JsonBuilder jb(td::StringBuilder(buf.as_slice(), true)); jb.enter_value() << get_update_type_name(update_type); |
