mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
feat: Update timeout values in API.py
The timeout values in the `API.py` file have been updated from (10, 30) to (5, 10). This change reduces the timeout duration for API requests, improving overall performance and responsiveness.
This commit is contained in:
parent
ea1ae91a64
commit
faf4706bf5
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ class API:
|
|||
url: str,
|
||||
data: Optional[Union[dict, bytes]] = None,
|
||||
files=None,
|
||||
timeout=(10, 30),
|
||||
timeout=(5, 10),
|
||||
) -> tuple[bool, str, Optional[int], Optional[dict]]:
|
||||
try:
|
||||
kwargs = {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue