runs
This commit is contained in:
+10
-4
@@ -23,11 +23,17 @@ start_link() ->
|
||||
|
||||
init([]) ->
|
||||
RestartStrategy = {one_for_one, 1, 60},
|
||||
Clerks = {fd_httpd_clerks,
|
||||
{fd_httpd_clerks, start_link, []},
|
||||
FileCache = {fd_httpd_sfc,
|
||||
{fd_httpd_sfc, start_link, []},
|
||||
permanent,
|
||||
5000,
|
||||
worker,
|
||||
[fd_httpd_sfc]},
|
||||
Clients = {fd_httpd_clients,
|
||||
{fd_httpd_clients, start_link, []},
|
||||
permanent,
|
||||
5000,
|
||||
supervisor,
|
||||
[fd_httpd_clerks]},
|
||||
Children = [Clerks],
|
||||
[fd_httpd_clients]},
|
||||
Children = [FileCache, Clients],
|
||||
{ok, {RestartStrategy, Children}}.
|
||||
|
||||
Reference in New Issue
Block a user