diff options
author | Alex Auvolat <alex@adnab.me> | 2018-09-11 15:39:09 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-09-11 15:39:09 +0200 |
commit | a033c82a3c656a8f53feb60b5b149680771ac247 (patch) | |
tree | bc3cb9a6954aebcfd1a0c5f61d367e1083802c3e /shardweb/lib/shard_web/views/page_view.ex | |
parent | e92969db3f0a2093da16eb7db18c9db49225a719 (diff) | |
download | shard-a033c82a3c656a8f53feb60b5b149680771ac247.tar.gz shard-a033c82a3c656a8f53feb60b5b149680771ac247.zip |
Use DETS to store shard & peer list to disk
Diffstat (limited to 'shardweb/lib/shard_web/views/page_view.ex')
-rw-r--r-- | shardweb/lib/shard_web/views/page_view.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shardweb/lib/shard_web/views/page_view.ex b/shardweb/lib/shard_web/views/page_view.ex index 8d39191..533c9e5 100644 --- a/shardweb/lib/shard_web/views/page_view.ex +++ b/shardweb/lib/shard_web/views/page_view.ex @@ -2,7 +2,7 @@ defmodule ShardWeb.PageView do use ShardWeb, :view def peer_list do - :ets.tab2list(:peer_db) + Shard.Manager.list_peers end def peer_id_to_str(id) do |