diff --git a/deps/rabbitmq_federation/src/rabbit_federation_link_sup.erl b/deps/rabbitmq_federation/src/rabbit_federation_link_sup.erl index f4758b8df7..eac30c34ee 100644 --- a/deps/rabbitmq_federation/src/rabbit_federation_link_sup.erl +++ b/deps/rabbitmq_federation/src/rabbit_federation_link_sup.erl @@ -91,9 +91,9 @@ children(Sup, UpstreamName) -> %%---------------------------------------------------------------------------- init(XorQ) -> - %% 1, 1 so that the supervisor can give up and get into waiting - %% for the reconnect_delay quickly. - {ok, {{one_for_one, 1, 1}, specs(XorQ)}}. + %% 0, 1 so that we always give up straight away and get into the + %% reconnect delay + {ok, {{one_for_one, 0, 1}, specs(XorQ)}}. specs(XorQ) -> [spec(Upstream, XorQ) || Upstream <- rabbit_federation_upstream:for(XorQ)].