Add an example for leader election based multiple controller

This commit is contained in:
Eishun Kondoh 2018-02-09 00:49:57 +09:00
parent 658b7448da
commit ce56d2b7be
14 changed files with 242 additions and 0 deletions

View file

@ -0,0 +1,9 @@
use Mix.Config
config :tres,
protocol: :tcp,
port: 6653,
max_connections: 10,
num_acceptors: 10,
callback_module: LeaderExample.Leader,
callback_args: []