-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Infinite ping #86
Infinite ping #86
Conversation
Looks good, I think we could use this for the comparison feature as well. e.g. if user provides 2 endpoints then automatically use this formatting. @MartinKolarik what do you think? |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as off-topic.
This comment was marked as off-topic.
Regarding the PR itself, currently, in single probe mode, there is a delay that makes it look like it's stuck until it updates again. It should look more like normal ping, which looks and feels real-time. If there's a refresh delay then lets lower it. The summary mode looks good on my environment. |
Please also follow the same format https://share.perfstack.net/2024/01/Termius_2024-01-18_18-02-14.png |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Multi-location live updates do not seem to work properly on Git Bash (I've raised an issue here), it appends a new table on every refresh. |
I don't have this issue, it only happened when I resized the terminal while the command was running. Without resizing, it worked fine.
|
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.
Starting to look good! Haven't fully reviewed the code yet, but writing down what I've got so far.
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.
Getting there 😄 please check the three small issues first, then let's see if we can improve the concurrency handling in a separate commit.
@jimaek please retest as well. |
Merging, let's continue in #91. |
Adds support for the
--infinite
flag on theping
command.--limit
will be set to max 5 when used with--infinite
--packets
default to 16 when--infinite
is usedExample
globalping ping cdn.jsdelivr.net from Europe --infinite > EU, SE, Stockholm, ASN:42708, GleSYS AB PING (142.250.186.46) 56(84) bytes of data. 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=1 ttl=59 time=25.2 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=2 ttl=59 time=24.9 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=3 ttl=59 time=25.2 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=4 ttl=59 time=25.6 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=5 ttl=59 time=28.2 ms 64 bytes from fra24s04-in-f14.1e100.net (142.250.186.46): icmp_seq=6 ttl=59 time=31.5 ms ^C
Example - multiple locations