begin to add chat function

This commit is contained in:
Peter Harpending
2025-10-21 21:06:35 -07:00
parent 079c47962a
commit 027c020a34
2 changed files with 236 additions and 1 deletions
+7 -1
View File
@@ -42,11 +42,17 @@ init([]) ->
5000,
supervisor,
[fd_clients]},
Chat = {fd_chat,
{fd_chat, start_link, []},
permanent,
5000,
worker,
[fd_chat]},
Cache = {fd_cache,
{fd_cache, start_link, []},
permanent,
5000,
worker,
[fd_cache]},
Children = [Clients, Cache],
Children = [Clients, Chat, Cache],
{ok, {RestartStrategy, Children}}.