0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

Revert "ircd::fs::aio: Use defer to post the chaser." [skip ci]

This reverts commit 726f131cc2.

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

This reverts commit 0d1b3de7c0.
This commit is contained in:
Jason Volk 2019-09-15 16:47:32 -07:00
parent ec22842c63
commit efadd20ce8
2 changed files with 2 additions and 2 deletions

View file

@ -164,7 +164,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(1);
boost::asio::io_context ios;
// Associates libircd with our io_context and posts the initial routines
// to that io_context. Execution of IRCd will then occur during ios::run()

View file

@ -837,7 +837,7 @@ ircd::fs::aio::system::submit(request &request)
};
auto handler(std::bind(&system::chase, this));
ircd::defer(descriptor, std::move(handler));
ircd::post(descriptor, std::move(handler));
}
return true;