Skip to content

Commit

Permalink
Update request_timeout_microsecond timeout (#1101)
Browse files Browse the repository at this point in the history
Occasionally, on heavy loaded servers, or slow machines, 500 micro seconds is a too strict timeout.
Bump to 900 micro seconds instead
  • Loading branch information
LocutusOfBorg authored and BillyONeal committed Apr 9, 2019
1 parent c328c70 commit 5583fbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ SUITE(connections_and_errors)
test_http_server::scoped_server scoped(m_uri);
t = scoped.server()->next_request();
http_client_config config;
config.set_timeout(std::chrono::microseconds(500));
config.set_timeout(std::chrono::microseconds(900));

http_client client(m_uri, config);
auto responseTask = client.request(methods::GET);
Expand Down

0 comments on commit 5583fbb

Please sign in to comment.