We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1e0923 commit 0e5d6f9Copy full SHA for 0e5d6f9
CHANGELOG.md
@@ -5,6 +5,7 @@
5
### 🏷️ Changed
6
7
* Restart the actor when it has been errored for 300 seconds instead of 30
8
+* Set default DLI request timeout to 3 seconds.
9
10
### ⚙️ Engineering
11
src/lvmnps/tools.py
@@ -39,6 +39,7 @@ class APIClient:
39
base_url: str
40
user: str
41
password: SecretStr
42
+ timeout: float = 3
43
44
auth_method: Literal["digest", "basic"] = "digest"
45
@@ -64,6 +65,7 @@ async def __aenter__(self):
64
65
auth=auth,
66
base_url=self.base_url,
67
headers={},
68
+ timeout=self.timeout,
69
)
70
71
return self.client
0 commit comments