Skip to content

Commit

Permalink
fix: change timeout default
Browse files Browse the repository at this point in the history
  • Loading branch information
ghadeer-x committed Mar 4, 2024
1 parent 0d8260a commit 100559a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
query_params = {key:value for (key,value) in query_params.items() if value is not None}

filtered_headers = {key:value for (key,value) in headers.items() if value is not None}
timeout = aiohttp.ClientTimeout(total=3*60, connect=5, sock_connect=5, sock_read=5)
timeout = aiohttp.ClientTimeout(total=5*60, connect=5, sock_connect=5, sock_read=5)

{% if async_client %}
async with aiohttp.ClientSession( timeout=timeout) as session:
Expand Down

0 comments on commit 100559a

Please sign in to comment.