Adding a timeout for Named Pipe connection to the Pahkat Service #50 #53
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To help with #50
This is intended to add a 2s timeout for the connection to the Pahkat Service Named Pipe and an associated message box informing the user that the Windows Service is down if the connection fails, and then closing the program (same as what appears to be intended startup behavior but that code was never hit).
This may not address #50 completely depending on what the cause is, but I have not been able to replicate the issue otherwise. Currently, if the Windows Service is down, Divvun Manager just waits forever, on the All Repositories page or any other relevant page since there's never any cancellation information sent. This change should help narrow down if the issue is related to that.