aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-02-17 16:26:17 -0700
committerJens Axboe <axboe@kernel.dk>2024-02-17 16:26:17 -0700
commit8812d761d8e89c726095c63de63035fe1e832c74 (patch)
treec17d697b877035b9a5ee922698c794f4ead4314e
parent01e4c36f4572fadd066fa19351f78165783466cd (diff)
downloadliburing-8812d761d8e89c726095c63de63035fe1e832c74.tar.gz
examples/proxy: remove overwrite of 'to_wait'
Just leave it at 'nr_conns'. I'll add a way to do smart batch waiting at some point. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--examples/proxy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/proxy.c b/examples/proxy.c
index a00935c7..893fa19d 100644
--- a/examples/proxy.c
+++ b/examples/proxy.c
@@ -1045,7 +1045,6 @@ int main(int argc, char *argv[])
if (nr_conns)
to_wait = nr_conns;
- to_wait = 1;
io_uring_submit_and_wait_timeout(&ring, &cqe, to_wait, &ts, NULL);
io_uring_for_each_cqe(&ring, head, cqe) {