-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase the network connection timeout and improve error message (#8894
) In some instances, connecting to an existing JabRef instance may take longer than the original 200ms timeout. Here we increase that timeout to a full second. If it takes longer than that to connect to an existing instance, chances are something else bad is going on. Additionally, in a case where we attempt a ping but it fails for some reason, but we're also unable to bind the port to listen ourselves, we give the user a more informative error message about the potential cause of that problem, and offer two possible solutions: figure out what other process is already binding the port, or file a bug if that process happens to be JabRef (since that would indicate that a 1s timeout isn't sufficient).
- Loading branch information
Showing
3 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters