-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve ping script output readability
Previously each ping iteration could print up to three lines, and it was sometimes easy to miss if the latest iteration succeeded or failed. This tries to limit each iteration to only a single vertically aligned line, printing information as it comes in. While I was here I simplified the implementation: - By being a little more careful about where and how long blocking happens I was able to drop multiple threads. This makes coordinating printing lines and shared data much easier - Removed previous loop timestamp tracking, it didn't seem to work anyway?
- Loading branch information
1 parent
9112704
commit ac2696d
Showing
1 changed file
with
71 additions
and
65 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