aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-04-29 15:56:09 +0200
committerHans Nilsson <[email protected]>2016-08-04 16:07:50 +0200
commit63b3d3a4d5afbf73f215cd343b9a84591d520d72 (patch)
tree5e6b8dee5e27c5a602d175b4e671dc455b6c3b48 /lib/ssh/src
parentf97b1d8914b54ac6c9202db4298ef5618e6a9d14 (diff)
downloadotp-63b3d3a4d5afbf73f215cd343b9a84591d520d72.tar.gz
otp-63b3d3a4d5afbf73f215cd343b9a84591d520d72.tar.bz2
otp-63b3d3a4d5afbf73f215cd343b9a84591d520d72.zip
ssh: sshc_sup to use worker for ssh_con_handler
Diffstat (limited to 'lib/ssh/src')
-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 8ee6aacfb5..b8275ba1eb 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}.