Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase state-svc wait timeout and output a notice after 5 seconds of waiting. #3269

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

mitchell-as
Copy link
Contributor

@mitchell-as mitchell-as commented Apr 29, 2024

TaskDX-2742 Increase state-svc timeout

@mitchell-as mitchell-as force-pushed the mitchell/dx-2742 branch 2 times, most recently from e4abc5b to 8a2d7f5 Compare April 29, 2024 17:24
"github.com/ActiveState/cli/internal/profile"
)

var (
pingRetryIterations = 32
pingRetryIterations = 45
Copy link
Contributor Author

@mitchell-as mitchell-as Apr 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using VERBOSE=true and trial and error I found this iteration gives a 31s timeout, which is close to the 30s target in the ACs. The previous iteration gave a 12s timeout.

@mitchell-as mitchell-as requested a review from Naatan April 29, 2024 19:09
@mitchell-as mitchell-as marked this pull request as ready for review April 29, 2024 19:09
@mitchell-as mitchell-as merged commit e37d263 into version/0-45-0-RC1 Apr 29, 2024
7 checks passed
@mitchell-as mitchell-as deleted the mitchell/dx-2742 branch April 29, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants