diff options
Diffstat (limited to 'config/config.exs')
-rw-r--r-- | config/config.exs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index 3139220..f970078 100644 --- a/config/config.exs +++ b/config/config.exs @@ -21,6 +21,18 @@ use Mix.Config # config :logger, level: :info # + +# Peer id suffix +# ============== +# This Shard instance will only connect to other instances that use +# the same suffix. +# +# On first run, the instance will try to generate a peer id that +# has this suffix. This is done by brute-force testing, therefore +# it is not recommended to use long suffixes. +config :shard, peer_id_suffix: "S" + + # It is also possible to import configuration files, relative to this # directory. For example, you can emulate configuration per environment # by uncommenting the line below and defining dev.exs, test.exs and such. |