Skip to content

Commit

Permalink
Up the timeout limits a bit to cater for slow environments
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob kooijman committed Nov 30, 2021
1 parent 7d85118 commit c787924
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions d2mapapi/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ int main( int argc, const char* argv[] ) {
.port( port )
.request_handler( map::create_server_handler() )
.read_next_http_message_timelimit( 10s )
.write_http_response_timelimit( 1s )
.handle_request_timeout( 1s ) );
.write_http_response_timelimit( 5s )
.handle_request_timeout( 5s ) );
}
catch (const std::exception& ex)
{
Expand Down

0 comments on commit c787924

Please sign in to comment.