Skip to content

Commit

Permalink
try fix gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Aug 10, 2023
1 parent 734806e commit 20c4355
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/ylt/coro_io/client_pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ class client_pool : public std::enable_shared_from_this<
}

auto rand_time() {
static thread_local std::default_random_engine r;
std::uniform_int_distribution<int> e(-25, 25);
return std::chrono::milliseconds{100 + e(r)};
//static thread_local std::default_random_engine r;
//std::uniform_int_distribution<int> e(-25, 25);
return std::chrono::milliseconds{100};
}

async_simple::coro::Lazy<std::unique_ptr<client_t>> get_client(
Expand Down

0 comments on commit 20c4355

Please sign in to comment.