Skip to content

Commit

Permalink
remove log in timeout function
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Mar 20, 2024
1 parent 6154528 commit 28a7369
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/ylt/coro_rpc/impl/coro_rpc_client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,12 +476,6 @@ class coro_rpc_client {
async_simple::coro::Lazy<bool> 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<std::chrono::milliseconds>(duration)
.count());
#endif
if (!is_timeout) {
co_return false;
}
Expand Down

0 comments on commit 28a7369

Please sign in to comment.