You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "cmcfarlen (via GitHub)" <gi...@apache.org> on 2024/02/01 16:39:49 UTC

Re: [PR] Cleanup io_uring. [trafficserver]

cmcfarlen commented on code in PR #11019:
URL: https://github.com/apache/trafficserver/pull/11019#discussion_r1474765382


##########
src/iocore/io_uring/unit_tests/test_diskIO.cc:
##########
@@ -265,14 +266,12 @@ TEST_CASE("net_io", "[io_uring]")
     connected = true;
   });
 
-  auto &m = Metrics::getInstance();
+  const auto *completed = Metrics::Counter::lookup("proxy.process.io_uring.completed", nullptr);

Review Comment:
   I like const on the left



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org