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:
parent
d087369b96
commit
0d1b3de7c0
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue