Skip to content

Commit 07156af

Browse files
committed
10 in 60
1 parent dd0663d commit 07156af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ldclient_instance_sup.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ start_link(SupName, UpdateSupName, UpdateWorkerModule, EventSupName, Tag) ->
4343
-spec init(Args :: term()) ->
4444
{ok, {{supervisor:strategy(), non_neg_integer(), pos_integer()}, [supervisor:child_spec()]}}.
4545
init([UpdateSupName, UpdateWorkerModule, EventSupName, Tag]) ->
46-
% Allow up to 5 restarts in 60 seconds before giving up.
46+
% Allow up to 10 restarts in 60 seconds before giving up.
4747
% This provides resilience for transient failures in child supervisors
4848
% (update processor, events, storage) while preventing infinite restart loops.
49-
{ok, {{one_for_one, 5, 60}, children(UpdateSupName, UpdateWorkerModule, EventSupName, Tag)}}.
49+
{ok, {{one_for_one, 10, 60}, children(UpdateSupName, UpdateWorkerModule, EventSupName, Tag)}}.
5050

5151
%%===================================================================
5252
%% Internal functions

0 commit comments

Comments
 (0)