aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_telnet.erl
diff options
context:
space:
mode:
authorPeter Andersson <peppe@erlang.org>2015-04-23 12:54:38 +0200
committerPeter Andersson <peppe@erlang.org>2015-04-23 13:25:28 +0200
commit70d806d92e030f3c5e1b527b360f3bb17664fcd7 (patch)
tree964a6c7f6331947a6607b33cbf55a43b382d1661 /lib/common_test/src/ct_telnet.erl
parentb3ad09ba107de16259844fe5bc50898ae40a1a96 (diff)
downloadotp-70d806d92e030f3c5e1b527b360f3bb17664fcd7.tar.gz
otp-70d806d92e030f3c5e1b527b360f3bb17664fcd7.tar.bz2
otp-70d806d92e030f3c5e1b527b360f3bb17664fcd7.zip
Increase speed of keep_alive (NOP) polls
Diffstat (limited to 'lib/common_test/src/ct_telnet.erl')
-rw-r--r--lib/common_test/src/ct_telnet.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_telnet.erl b/lib/common_test/src/ct_telnet.erl
index d906a267a1..96af55195f 100644
--- a/lib/common_test/src/ct_telnet.erl
+++ b/lib/common_test/src/ct_telnet.erl
@@ -29,7 +29,7 @@
%% Command timeout = 10 sec (time to wait for a command to return)
%% Max no of reconnection attempts = 3
%% Reconnection interval = 5 sek (time to wait in between reconnection attempts)
-%% Keep alive = true (will send NOP to the server every 10 sec if connection is idle)
+%% Keep alive = true (will send NOP to the server every 8 sec if connection is idle)
%% Polling limit = 0 (max number of times to poll to get a remaining string terminated)
%% Polling interval = 1 sec (sleep time between polls)</pre>
%% <p>These parameters can be altered by the user with the following
@@ -1007,7 +1007,7 @@ silent_teln_expect(Name,Pid,Data,Pattern,Prx,Opts) ->
put(silent,Old),
Result.
-%% teln_expect/5
+%% teln_expect/6
%%
%% This function implements the expect functionality over telnet. In
%% general there are three possible ways to go: