Skip to content

Commit 6b80ca6

Browse files
author
Bruno Sutic
committed
ping uses 1 packet to speed up "online test"
1 parent a3e95b8 commit 6b80ca6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
### master
4+
- to speed up the "online test" ping uses only 1 packet
45

56
### v1.0.0, 2014-10-26
67
- README updates

scripts/online_status_icon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ offline_icon_default() {
3535
}
3636

3737
online_status() {
38-
ping -c 3 $(get_tmux_option "$route_to_ping_string" "$route_to_ping_default") >/dev/null 2>&1
38+
ping -c 1 $(get_tmux_option "$route_to_ping_string" "$route_to_ping_default") >/dev/null 2>&1
3939
}
4040

4141
print_icon() {

0 commit comments

Comments
 (0)