Bumped allowable crash frequency to 1000000/1 sec.
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 25 Jul 2012 05:05:04 +0000 (01:05 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 25 Jul 2012 05:05:04 +0000 (01:05 -0400)
001/src/life_god.erl

index d9f6237..84c511a 100644 (file)
@@ -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]}.
-
-
-
-
This page took 0.034872 seconds and 4 git commands to generate.