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

properly time out when waiting on the browser #489

Merged
merged 1 commit into from
Oct 22, 2024
Merged

properly time out when waiting on the browser #489

merged 1 commit into from
Oct 22, 2024

Conversation

cfbao
Copy link
Member

@cfbao cfbao commented Oct 21, 2024

If Okta redirects us to an unexpected page, we'd be stuck there waiting forever, because the current timeout logic is flawed.

@github-actions github-actions bot added language/csharp size/XS A very small PR - good job! labels Oct 21, 2024
@cfbao
Copy link
Member Author

cfbao commented Oct 21, 2024

Ideally, we'd also have a per page timeout that's much shorter than the total timeout (15 sec), e.g. we should never be sitting on an page for 3 seconds without anything happening.

I'll see if this can be implemented easily in another PR.

@cfbao cfbao marked this pull request as ready for review October 21, 2024 22:23
@cfbao cfbao requested a review from a team as a code owner October 21, 2024 22:23
@cfbao cfbao merged commit 6ef8ad6 into main Oct 22, 2024
9 checks passed
@cfbao cfbao deleted the browser-cancel branch October 22, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language/csharp size/XS A very small PR - good job!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants