-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
feat: Increase timeout to 5 minutes if a debugger is attached #1178
Conversation
Why not disable timeout completely (TimeOut.Infinite)? That makes more sense to me. I remember having that at some point. Cannot remember why I took it out again. |
Simplicity - we can not just have no timeout for
|
So in the end we would use some "arbitrary" value. Sure we can put it to another, higher value. |
Hmm you can just turn of the timer by passing in a https://learn.microsoft.com/en-us/dotnet/api/system.threading.timeout.infinite?view=net-7.0#system-threading-timeout-infinite as duetime/period. |
Fair point - updated the PR. |
4205912
to
869f5ac
Compare
Looks good. Think we need to add a code doc as well as docs updates that remark to all WaitFor methods that tells the user about this feature. |
I added the docs - fun fact, as |
bfd9785
to
7109471
Compare
Co-authored-by: Egil Hansen <[email protected]>
Co-authored-by: Egil Hansen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just update the remaining docs and then it looks alright.
Ps. Excuse the brevity. Reviewing from the car on my phone.
Closes #1177