From c84a211b4c9fb0ef878ab26af4af39f580d76b51 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 22 Sep 2020 07:31:52 -0700 Subject: [PATCH] construct: Increase matrix context stack size. --- construct/construct.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/construct/construct.cc b/construct/construct.cc index b6cc7b80b..1454a325a 100644 --- a/construct/construct.cc +++ b/construct/construct.cc @@ -270,8 +270,10 @@ noexcept try // and not taken the second time. if(level == ircd::run::level::LOAD && !context && !nomatrix) { + using namespace ircd::util; + // 3 Launch the homeserver context (asynchronous). - context = { "matrix", ircd::context::POST, homeserver }; + context = { "matrix", 1_MiB, ircd::context::POST, homeserver }; // 4 Yield until the homeserver function notifies `start`; waiting // here prevents ircd::main() from entering runlevel RUN.