Skip to content

Commit 59f484d

Browse files
committed
feat(helper): actively check version on start
1 parent 5489b69 commit 59f484d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docarray/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def _version_check(package: str = None, github_repo: str = None):
465465
headers={'User-Agent': 'Mozilla/5.0'},
466466
)
467467
with urlopen(
468-
req, timeout=5
468+
req, timeout=1
469469
) as resp: # 'with' is important to close the resource after use
470470
j = json.load(resp)
471471
releases = j.get('releases', {})

0 commit comments

Comments
 (0)