0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-02-16 16:50:12 +01:00

construct: Set asio::io_context concurrency hint to 1.

This commit is contained in:
Jason Volk 2019-05-13 13:22:01 -07:00
parent d087369b96
commit 0d1b3de7c0

View file

@ -157,7 +157,7 @@ noexcept try
// This is the sole io_context for Construct, and the ios.run() below is the
// the only place where the program actually blocks.
boost::asio::io_context ios;
boost::asio::io_context ios(1);
// Associates libircd with our io_context and posts the initial routines
// to that io_context. Execution of IRCd will then occur during ios::run()