This commit is contained in:
2025-12-16 22:09:10 -08:00
parent cbfc496057
commit e160701403
11 changed files with 95 additions and 156 deletions
+10 -4
View File
@@ -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}}.