1. arkdro
  2. odeci

Commits

arkdro  committed 810e98e

child spec changed

  • Participants
  • Parent commits 53bb0ae
  • Branches master

Comments (0)

Files changed (1)

File erlang/src/server_sup.erl

View file
 init(_Args) ->
     Id = odeci1,
     StartFunc = {c_server, start_link, []},
-    Child = {Id, StartFunc, transient, 1000, worker, [c_server]},
+    Child = {Id, StartFunc, permanent, 2000, worker, [c_server]},
     All = [Child],
     {ok, {{one_for_one, 3, 5}, All}}.