This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 7.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/7.1.x by this push: new fed0af1 Restores traffic_top -s option to be in seconds fed0af1 is described below commit fed0af177e23d9e32c1f1b00a2f5e22d8a6f02a3 Author: Leif Hedstrom <zw...@apache.org> AuthorDate: Mon Feb 12 11:58:09 2018 -0700 Restores traffic_top -s option to be in seconds (cherry picked from commit 4936f48eff05758428fb899cc9235896696853b2) --- cmd/traffic_top/traffic_top.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/traffic_top/traffic_top.cc b/cmd/traffic_top/traffic_top.cc index 99996ff..f33de7c 100644 --- a/cmd/traffic_top/traffic_top.cc +++ b/cmd/traffic_top/traffic_top.cc @@ -393,7 +393,7 @@ main(int argc, const char **argv) static const char USAGE[] = "Usage: traffic_top [-s seconds]"; #endif - int sleep_time = 6000; + int sleep_time = 6; // In seconds bool absolute = false; string url; @@ -485,7 +485,7 @@ main(int argc, const char **argv) curs_set(0); refresh(); - timeout(sleep_time); + timeout(sleep_time * 1000); int x = getch(); switch (x) { -- To stop receiving notification emails like this one, please contact zw...@apache.org.