begin to add chat function
This commit is contained in:
+7
-1
@@ -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}}.
|
||||
|
||||
Reference in New Issue
Block a user