Skip to content

Commit

Permalink
Merge pull request #54438 from canhld94/fix_http_timeout
Browse files Browse the repository at this point in the history
Pass http retry timeout as milliseconds
  • Loading branch information
alesapin committed Sep 20, 2023
2 parents 165b0f0 + 2a5b4ee commit bfca5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IO/HTTPCommon.cpp
Expand Up @@ -321,7 +321,7 @@ namespace
/// To avoid such a deadlock we unlock `lock` before entering `pool_ptr->second->get`.
lock.unlock();

auto retry_timeout = timeouts.connection_timeout.totalMicroseconds();
auto retry_timeout = timeouts.connection_timeout.totalMilliseconds();
auto session = pool_ptr->second->get(retry_timeout);

setTimeouts(*session, timeouts);
Expand Down

0 comments on commit bfca5f7

Please sign in to comment.