From a033c82a3c656a8f53feb60b5b149680771ac247 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 11 Sep 2018 15:39:09 +0200 Subject: Use DETS to store shard & peer list to disk --- shardweb/lib/shard_web/views/page_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shardweb/lib/shard_web/views/page_view.ex') 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 -- cgit v1.2.3