aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/sshc_sup.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-02-08 17:06:44 +0100
committerHans Nilsson <[email protected]>2018-02-20 12:54:36 +0100
commit83cd7724b244a4d5dd3efbdbb66811e781136ac9 (patch)
tree69a89094f3bce2f04fae1b23e953276c3cac13d6 /lib/ssh/src/sshc_sup.erl
parent19265ed2beb0da5d02ed76456beda694ad98399a (diff)
downloadotp-83cd7724b244a4d5dd3efbdbb66811e781136ac9.tar.gz
otp-83cd7724b244a4d5dd3efbdbb66811e781136ac9.tar.bz2
otp-83cd7724b244a4d5dd3efbdbb66811e781136ac9.zip
ssh: Dont repeat supervisor defaults in map fields
Diffstat (limited to 'lib/ssh/src/sshc_sup.erl')
-rw-r--r--lib/ssh/src/sshc_sup.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ssh/src/sshc_sup.erl b/lib/ssh/src/sshc_sup.erl
index 133b2c6450..fd4d8a3c07 100644
--- a/lib/ssh/src/sshc_sup.erl
+++ b/lib/ssh/src/sshc_sup.erl
@@ -60,10 +60,7 @@ init(_) ->
},
ChildSpecs = [#{id => undefined, % As simple_one_for_one is used.
start => {ssh_connection_handler, start_link, []},
- restart => temporary,
- shutdown => 4000,
- type => worker,
- modules => [ssh_connection_handler]
+ restart => temporary % because there is no way to restart a crashed connection
}
],
{ok, {SupFlags,ChildSpecs}}.