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

Wait 10s instead of 20s before asking user #74

Merged
merged 4 commits into from
Aug 27, 2024
Merged

Wait 10s instead of 20s before asking user #74

merged 4 commits into from
Aug 27, 2024

Conversation

gadenbuie
Copy link
Collaborator

I initially had a 10s wait before the "would you like to continue" appears, but in #65 (comment) we bumped this to 20s.

I had forgotten that these 10s are balancing both slow-opening apps as well as apps that fail immediately. Because we're using terminal.sendText(), we don't have any insight into what has happened in the Terminal. When an app fails immediately (say shiny isn't installed), we still have to wait for the 10s timeout before we show the "something's not right dialog".

To mitigate this, if the user clicks "keep waiting", we'll bump up the wait time to 30s.

@gadenbuie gadenbuie requested a review from jcheng5 August 27, 2024 17:30
Copy link
Collaborator

@jcheng5 jcheng5 left a comment

Choose a reason for hiding this comment

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

🤷‍♂️

@gadenbuie gadenbuie merged commit dc5e0ff into main Aug 27, 2024
3 checks passed
@gadenbuie gadenbuie deleted the fix/wait-10s branch August 27, 2024 21:19
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.

2 participants