This commit is contained in:
Peter Harpending
2025-12-16 22:09:10 -08:00
parent cbfc496057
commit e160701403
11 changed files with 95 additions and 156 deletions
+7 -7
View File
@@ -36,17 +36,17 @@ start_link() ->
init([]) ->
RestartStrategy = {one_for_one, 1, 60},
Httpd = {fd_httpd,
{fd_httpd, start_link, []},
permanent,
5000,
supervisor,
[fd_httpd]},
Cache = {fd_cache,
{fd_cache, start_link, []},
permanent,
5000,
worker,
[fd_cache]},
Children = [Httpd, Cache],
Httpd = {fd_httpd,
{fd_httpd, start_link, []},
permanent,
5000,
supervisor,
[fd_httpd]},
Children = [Cache, Httpd],
{ok, {RestartStrategy, Children}}.