diff options
author | Hans Nilsson <[email protected]> | 2016-05-02 15:01:58 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-05-02 15:01:58 +0200 |
commit | 41d5dacc152e7f4f4f3edf44c39d0c61d5dd48d4 (patch) | |
tree | c26dac30f93a054ba4eae10a22da413140af17ec /lib/ssh/src/sshc_sup.erl | |
parent | be0b35ea2be58740efc4859181d4c01661d0c946 (diff) | |
parent | 9e5a6c7e1a2ce2c8a4c089237f1ecc657598c953 (diff) | |
download | otp-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/sshc_sup.erl')
-rw-r--r-- | lib/ssh/src/sshc_sup.erl | 4 |
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}. |