aboutsummaryrefslogtreecommitdiff
path: root/shardweb/config
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-09-11 15:39:09 +0200
committerAlex Auvolat <alex@adnab.me>2018-09-11 15:39:09 +0200
commita033c82a3c656a8f53feb60b5b149680771ac247 (patch)
treebc3cb9a6954aebcfd1a0c5f61d367e1083802c3e /shardweb/config
parente92969db3f0a2093da16eb7db18c9db49225a719 (diff)
downloadshard-a033c82a3c656a8f53feb60b5b149680771ac247.tar.gz
shard-a033c82a3c656a8f53feb60b5b149680771ac247.zip
Use DETS to store shard & peer list to disk
Diffstat (limited to 'shardweb/config')
-rw-r--r--shardweb/config/config.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/shardweb/config/config.exs b/shardweb/config/config.exs
index 1b00d4e..c496d1d 100644
--- a/shardweb/config/config.exs
+++ b/shardweb/config/config.exs
@@ -20,7 +20,8 @@ config :logger, :console,
# Configuration for Shard itself (see shard/config/config.exs for expanations)
-config :shard, peer_id_suffix: "S"
+config :shard, peer_id_suffix: "SH"
+config :shard, data_path: Path.join [System.user_home, "shard", "data2"]
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.