summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ioq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ioq.c b/src/ioq.c
index 3c26814..0936adf 100644
--- a/src/ioq.c
+++ b/src/ioq.c
@@ -742,8 +742,8 @@ static int ioq_ring_init(struct ioq *ioq, struct ioq_thread *thread) {
if (!prev) {
// Limit the number of io_uring workers
unsigned int values[] = {
- [IO_WQ_BOUND] = ioq->nthreads,
- [IO_WQ_UNBOUND] = 0,
+ ioq->nthreads, // [IO_WQ_BOUND]
+ 0, // [IO_WQ_UNBOUND]
};
io_uring_register_iowq_max_workers(&thread->ring, values);
}