caching works correctly

This commit is contained in:
Peter Harpending
2025-10-11 17:24:11 -06:00
parent a942d79869
commit 673bc3ae52
5 changed files with 172 additions and 17 deletions
+7 -1
View File
@@ -42,5 +42,11 @@ init([]) ->
5000,
supervisor,
[fd_clients]},
Children = [Clients],
Cache = {fd_cache,
{fd_cache, start_link, []},
permanent,
5000,
worker,
[fd_cache]},
Children = [Clients, Cache],
{ok, {RestartStrategy, Children}}.