Skip to content

Change dotnet process timeout to time since last output - #468

Merged
slang25 merged 1 commit into
dotnet-outdated:masterfrom
reduckted:feature/improve-timeout
Aug 21, 2023
Merged

slang25 merged 1 commit into
dotnet-outdated:masterfrom
reduckted:feature/improve-timeout

Conversation

@reduckted

Copy link
Copy Markdown
Contributor

Fixes #55
Fixes #251
Fixes #463

Rather than only giving the dotnet process 20 seconds to complete, the timeout now operates on the time since the last output from the dotnet process. When a line is read from stdout or stderr of the dotnet process, the timer is reset. If no output is received in 20 seconds, then the process is aborted.

@slang25 slang25 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a great improvement, thanks!

@slang25
slang25 merged commit 59acd65 into dotnet-outdated:master Aug 21, 2023
@reduckted
reduckted deleted the feature/improve-timeout branch August 21, 2023 20:21
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.

Error sometimes when first run An error occurred while upgrading... but no error message Unable to update packages when NuGet cache is empty

2 participants