aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-04-29 15:56:09 +0200
committerLukas Larsson <[email protected]>2016-04-29 15:56:09 +0200
commit9e5a6c7e1a2ce2c8a4c089237f1ecc657598c953 (patch)
tree95ce5814d5c21e8bc2a22323f9815a9747850b35 /lib/ssh
parentab0fd9ea6c333d11fa03df1391e320077adc1907 (diff)
downloadotp-9e5a6c7e1a2ce2c8a4c089237f1ecc657598c953.tar.gz
otp-9e5a6c7e1a2ce2c8a4c089237f1ecc657598c953.tar.bz2
otp-9e5a6c7e1a2ce2c8a4c089237f1ecc657598c953.zip
ssh: sshc_sup to use worker for ssh_con_handler
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/src/sshc_sup.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/sshc_sup.erl b/lib/ssh/src/sshc_sup.erl
index 5667fd2aec..71b5c2c46a 100644
--- a/lib/ssh/src/sshc_sup.erl
+++ b/lib/ssh/src/sshc_sup.erl
@@ -64,7 +64,7 @@ child_spec(_) ->
Name = undefined, % As simple_one_for_one is used.
StartFunc = {ssh_connection_handler, start_link, []},
Restart = temporary,
- Shutdown = infinity,
+ Shutdown = 4000,
Modules = [ssh_connection_handler],
- Type = supervisor,
+ Type = worker,
{Name, StartFunc, Restart, Shutdown, Type, Modules}.