From: Siraaj Khandkar Date: Wed, 25 Jul 2012 05:05:04 +0000 (-0400) Subject: Bumped allowable crash frequency to 1000000/1 sec. X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=00853100dcd6d340d81783c0680ef609e2c87420;hp=5c65ee244a1d480b62f0f14e9820a624169c1d00;p=cellular-automata.git Bumped allowable crash frequency to 1000000/1 sec. --- diff --git a/001/src/life_god.erl b/001/src/life_god.erl index d9f6237..84c511a 100644 --- a/001/src/life_god.erl +++ b/001/src/life_god.erl @@ -27,7 +27,7 @@ start_link(X, CellData) -> init([X, CellData]) -> CellNames = [Name || {_, Name, _} <- CellData], - RestartStrategy = {one_for_one, 5, 10}, + RestartStrategy = {one_for_one, 1000000, 1}, Cells = [spec_cell(Datum) || Datum <- CellData], Time = ?CHILD(worker, life_time, [X, CellNames]), Children = Cells ++ [Time], @@ -39,9 +39,3 @@ spec_cell({_, Name, _}=Datum) -> F = start_link, A = [Datum], {Name, {M, F, A}, permanent, 5000, worker, [M]}. - - %{ID, {ID, start_link, Args}, permanent, 5000, Type, [ID]}. - - - -