From 28a7369ee323a8a222a3cf327e8dac792f97196a Mon Sep 17 00:00:00 2001 From: qicosmos Date: Wed, 20 Mar 2024 16:02:35 +0800 Subject: [PATCH] remove log in timeout function --- include/ylt/coro_rpc/impl/coro_rpc_client.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/ylt/coro_rpc/impl/coro_rpc_client.hpp b/include/ylt/coro_rpc/impl/coro_rpc_client.hpp index bc2f8c3eb..a69849856 100644 --- a/include/ylt/coro_rpc/impl/coro_rpc_client.hpp +++ b/include/ylt/coro_rpc/impl/coro_rpc_client.hpp @@ -476,12 +476,6 @@ class coro_rpc_client { async_simple::coro::Lazy timeout(auto duration, std::string err_msg) { timer_.expires_after(duration); bool is_timeout = co_await timer_.async_await(); -#ifdef UNIT_TEST_INJECT - ELOGV(INFO, "client_id %d %s, is_timeout_ %d, %d , duration %d ms", - config_.client_id, err_msg.data(), is_timeout_, is_timeout, - std::chrono::duration_cast(duration) - .count()); -#endif if (!is_timeout) { co_return false; }