summaryrefslogtreecommitdiff
path: root/lib/polyjuice/client/application.ex
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2020-08-21 23:07:10 -0400
committerHubert Chathi <hubert@uhoreg.ca>2020-08-21 23:07:10 -0400
commit68ccfefec146c3938c18babfb22df690f350b356 (patch)
treebc80556d69a4a326799b11ca428d4d55e74cf84a /lib/polyjuice/client/application.ex
parentautomatically start/stop sync when logging in/out (diff)
execute room requests in a queue
Diffstat (limited to 'lib/polyjuice/client/application.ex')
-rw-r--r--lib/polyjuice/client/application.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/polyjuice/client/application.ex b/lib/polyjuice/client/application.ex
index b6c87cc..596fd37 100644
--- a/lib/polyjuice/client/application.ex
+++ b/lib/polyjuice/client/application.ex
@@ -21,7 +21,8 @@ defmodule Polyjuice.Client.Application do
%{
id: Polyjuice.Client.ID,
start: {Agent, :start_link, [fn -> 0 end, [name: Polyjuice.Client.ID]]}
- }
+ },
+ {Mutex, name: Polyjuice.Client.Mutex}
]
Supervisor.start_link(children, strategy: :one_for_one)