Skip to content

Commit

Permalink
feat(helper): add version check for client and server
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Apr 26, 2022
1 parent 27ffd85 commit f5ba35a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions client/clip_client/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,4 @@ def is_latest_version(package: str = None, github_repo: str = None) -> None:
:param github_repo: repo name that contains CHANGELOG if none then the same as package name
"""

threading.Thread(
target=_version_check, daemon=True, args=(package, github_repo)
).start()
threading.Thread(target=_version_check, args=(package, github_repo)).start()
4 changes: 1 addition & 3 deletions server/clip_server/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,4 @@ def is_latest_version(package: str = None, github_repo: str = None) -> None:
:param github_repo: repo name that contains CHANGELOG if none then the same as package name
"""

threading.Thread(
target=_version_check, daemon=True, args=(package, github_repo)
).start()
threading.Thread(target=_version_check, args=(package, github_repo)).start()

0 comments on commit f5ba35a

Please sign in to comment.