Skip to content

Commit 69bb7b8

Browse files
author
Daniil Fedotov
committed
Allow 2 restarts per hour for vhost msg stores
1 parent 585e43b commit 69bb7b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rabbit_vhost_sup_wrapper.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ start_link(VHost) ->
3333
%% so one_for_all strategy cannot be used.
3434

3535
init([VHost]) ->
36-
{ok, {{one_for_all, 1, 10000000},
36+
%% Two restarts in 1 hour. One per message store.
37+
{ok, {{one_for_all, 2, 3600000},
3738
[{rabbit_vhost_sup,
3839
{rabbit_vhost_sup_wrapper, start_vhost_sup, [VHost]},
3940
permanent, infinity, supervisor,

0 commit comments

Comments
 (0)