From 7f3286a196e0072049f65ac2c164026810694013 Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Thu, 5 Oct 2023 19:41:01 +0200 Subject: [PATCH] fix: set default timeout to 60s (#16) This aligns with the url_option timeout which is set to 60000 --- src/pywaze/route_calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pywaze/route_calculator.py b/src/pywaze/route_calculator.py index 547b672..e74ef90 100644 --- a/src/pywaze/route_calculator.py +++ b/src/pywaze/route_calculator.py @@ -50,7 +50,7 @@ def __init__( self, region="EU", client: httpx.AsyncClient | None = None, - timeout: int = 10, + timeout: int = 60, ): self.region = region self.client = client