Skip to content

fix(cli): add timeout to axios request in version check - #1064

Open
crStiv wants to merge 1 commit into
semaphore-protocol:mainfrom
crStiv:fix/axios-timeout-check-version
Open

fix(cli): add timeout to axios request in version check#1064
crStiv wants to merge 1 commit into
semaphore-protocol:mainfrom
crStiv:fix/axios-timeout-check-version

Conversation

@crStiv

@crStiv crStiv commented Nov 1, 2025

Copy link
Copy Markdown

Adds 5-second timeout to axios.get() call to prevent CLI from hanging when checking for latest version.

Without timeout, the request could block indefinitely on slow or unresponsive networks.

@crStiv
crStiv requested a review from a team as a code owner November 1, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant