aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ssh/src/ssh_acceptor_sup.erl2
-rw-r--r--lib/ssh/src/ssh_sup.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_acceptor_sup.erl b/lib/ssh/src/ssh_acceptor_sup.erl
index 3ad842f98c..26defcfdbd 100644
--- a/lib/ssh/src/ssh_acceptor_sup.erl
+++ b/lib/ssh/src/ssh_acceptor_sup.erl
@@ -87,7 +87,7 @@ child_spec(Address, Port, Profile, Options) ->
#{id => id(Address, Port, Profile),
start => {ssh_acceptor, start_link, [Port, Address, Options, Timeout]},
restart => transient,
- shutdown => brutal_kill,
+ shutdown => 5500, %brutal_kill,
type => worker,
modules => [ssh_acceptor]
}.
diff --git a/lib/ssh/src/ssh_sup.erl b/lib/ssh/src/ssh_sup.erl
index 6be809b1bd..26574763e4 100644
--- a/lib/ssh/src/ssh_sup.erl
+++ b/lib/ssh/src/ssh_sup.erl
@@ -39,7 +39,7 @@ init(_) ->
ChildSpecs = [#{id => Module,
start => {Module, start_link, []},
restart => permanent,
- shutdown => brutal_kill,
+ shutdown => 4000, %brutal_kill,
type => supervisor,
modules => [Module]
}