diff options
author | Alex Auvolat <alex@adnab.me> | 2018-10-11 11:02:35 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-10-11 11:02:35 +0200 |
commit | 7b6042205e7c6135fae4e0d21dbf7a5975e8491b (patch) | |
tree | 58fc563458702fb456729b79802eacb547a8fc66 /shard/config | |
parent | a2f678dc510e642479d61b81148a433edd7b76fe (diff) | |
download | shard-7b6042205e7c6135fae4e0d21dbf7a5975e8491b.tar.gz shard-7b6042205e7c6135fae4e0d21dbf7a5975e8491b.zip |
Clean up
Diffstat (limited to 'shard/config')
-rw-r--r-- | shard/config/config.exs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shard/config/config.exs b/shard/config/config.exs index 55eda61..215a76a 100644 --- a/shard/config/config.exs +++ b/shard/config/config.exs @@ -22,6 +22,12 @@ use Mix.Config # +# P2P Port +# ======== +# This is the port Shard will listen on for P2P connections. +config :shard, port: elem (Integer.parse ((System.get_env "PORT") || "4044")), 0 + + # Network secret # ============== # The secret value that identifies the shard network this peer |