aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-05-02 15:01:58 +0200
committerHans Nilsson <[email protected]>2016-05-02 15:01:58 +0200
commit41d5dacc152e7f4f4f3edf44c39d0c61d5dd48d4 (patch)
treec26dac30f93a054ba4eae10a22da413140af17ec /lib/ssh/src
parentbe0b35ea2be58740efc4859181d4c01661d0c946 (diff)
parent9e5a6c7e1a2ce2c8a4c089237f1ecc657598c953 (diff)
downloadotp-41d5dacc152e7f4f4f3edf44c39d0c61d5dd48d4.tar.gz
otp-41d5dacc152e7f4f4f3edf44c39d0c61d5dd48d4.tar.bz2
otp-41d5dacc152e7f4f4f3edf44c39d0c61d5dd48d4.zip
Merge branch 'lukas/ssh/sshc_con_hand_worker'
* lukas/ssh/sshc_con_hand_worker: 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 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}.