home
/
code
/
cellular-automata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5c65ee2
)
Bumped allowable crash frequency to 1000000/1 sec.
author
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 25 Jul 2012 05:05:04 +0000
(
01:05
-0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 25 Jul 2012 05:05:04 +0000
(
01:05
-0400)
001/src/life_god.erl
patch
|
blob
|
blame
|
history
diff --git
a/001/src/life_god.erl
b/001/src/life_god.erl
index
d9f6237
..
84c511a
100644
(file)
--- 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]}.
-
-
-
-
This page took
0.048205 seconds
and
4
git commands to generate.