diff options
author | Hans Nilsson <[email protected]> | 2018-02-08 17:06:44 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-02-20 12:54:36 +0100 |
commit | 83cd7724b244a4d5dd3efbdbb66811e781136ac9 (patch) | |
tree | 69a89094f3bce2f04fae1b23e953276c3cac13d6 /lib/ssh/src/ssh_subsystem_sup.erl | |
parent | 19265ed2beb0da5d02ed76456beda694ad98399a (diff) | |
download | otp-83cd7724b244a4d5dd3efbdbb66811e781136ac9.tar.gz otp-83cd7724b244a4d5dd3efbdbb66811e781136ac9.tar.bz2 otp-83cd7724b244a4d5dd3efbdbb66811e781136ac9.zip |
ssh: Dont repeat supervisor defaults in map fields
Diffstat (limited to 'lib/ssh/src/ssh_subsystem_sup.erl')
-rw-r--r-- | lib/ssh/src/ssh_subsystem_sup.erl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/ssh/src/ssh_subsystem_sup.erl b/lib/ssh/src/ssh_subsystem_sup.erl index 8db051095c..77da240a66 100644 --- a/lib/ssh/src/ssh_subsystem_sup.erl +++ b/lib/ssh/src/ssh_subsystem_sup.erl @@ -74,18 +74,14 @@ ssh_connection_child_spec(Role, Address, Port, _Profile, Options) -> #{id => id(Role, ssh_connection_sup, Address, Port), start => {ssh_connection_sup, start_link, [Options]}, restart => temporary, - shutdown => 5000, - type => supervisor, - modules => [ssh_connection_sup] + type => supervisor }. ssh_channel_child_spec(Role, Address, Port, _Profile, Options) -> #{id => id(Role, ssh_channel_sup, Address, Port), start => {ssh_channel_sup, start_link, [Options]}, restart => temporary, - shutdown => infinity, - type => supervisor, - modules => [ssh_channel_sup] + type => supervisor }. id(Role, Sup, Address, Port) -> |