diff options
author | Lukas Larsson <[email protected]> | 2016-04-29 15:56:09 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-04-29 15:56:09 +0200 |
commit | 9e5a6c7e1a2ce2c8a4c089237f1ecc657598c953 (patch) | |
tree | 95ce5814d5c21e8bc2a22323f9815a9747850b35 | |
parent | ab0fd9ea6c333d11fa03df1391e320077adc1907 (diff) | |
download | otp-9e5a6c7e1a2ce2c8a4c089237f1ecc657598c953.tar.gz otp-9e5a6c7e1a2ce2c8a4c089237f1ecc657598c953.tar.bz2 otp-9e5a6c7e1a2ce2c8a4c089237f1ecc657598c953.zip |
ssh: sshc_sup to use worker for ssh_con_handler
-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}. |