Skip to content

Commit

Permalink
perf(io_context): revert submission_threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
Codesire-Deng committed Jan 12, 2024
1 parent 2a2e240 commit 9119b92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/co_context/config/io_context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ inline constexpr uint32_t default_io_uring_entries =
* io_uring immediately. As a result, the actual batch size might be equal
* to or slightly greater than the threshold.
*/
inline constexpr uint32_t submission_threshold = 32;
// inline constexpr uint32_t submission_threshold = -1U;
// inline constexpr uint32_t submission_threshold = 32;
inline constexpr uint32_t submission_threshold = -1U;
// ========================================================================

// =========================== co configuration ===========================
Expand Down

0 comments on commit 9119b92

Please sign in to comment.