[wip] static file cache data structure works

This commit is contained in:
2025-10-22 13:17:39 -07:00
parent 80945de92d
commit 8b938fdd42
4 changed files with 174 additions and 55 deletions
+7 -1
View File
@@ -48,11 +48,17 @@ init([]) ->
5000,
worker,
[fd_chat]},
FileCache = {fd_sfc,
{fd_sfc, start_link, []},
permanent,
5000,
worker,
[fd_sfc]},
Cache = {fd_cache,
{fd_cache, start_link, []},
permanent,
5000,
worker,
[fd_cache]},
Children = [Clients, Chat, Cache],
Children = [Clients, Chat, FileCache, Cache],
{ok, {RestartStrategy, Children}}.