Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from Wyvern-AI/shu/increase_wyvern_api_client_d…
Browse files Browse the repository at this point in the history
…efault_timeout_to_120s

increase default http timeout to 180 - requests take longer than 60s when our service gets busy
  • Loading branch information
wintonzheng authored Aug 9, 2023
2 parents ea9d814 + 909d130 commit 449601c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "wyvern-ai"
version = "0.0.1"
version = "0.0.2"
description = ""
authors = ["Wyvern AI <info@wyvern.ai>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion wyvern/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from wyvern.exceptions import WyvernAPIKeyMissingError, WyvernError

BATCH_SIZE = 15000
HTTP_TIMEOUT = 60
HTTP_TIMEOUT = 180
BATCH_SIZE_PER_GATHER = 4


Expand Down

0 comments on commit 449601c

Please sign in to comment.