aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web/views/room_view.ex
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/lib/shard_web/views/room_view.ex
parente92969db3f0a2093da16eb7db18c9db49225a719 (diff)
downloadshard-a033c82a3c656a8f53feb60b5b149680771ac247.tar.gz
shard-a033c82a3c656a8f53feb60b5b149680771ac247.zip
Use DETS to store shard & peer list to disk
Diffstat (limited to 'shardweb/lib/shard_web/views/room_view.ex')
-rw-r--r--shardweb/lib/shard_web/views/room_view.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/shardweb/lib/shard_web/views/room_view.ex b/shardweb/lib/shard_web/views/room_view.ex
index b2d7ebe..7c102cc 100644
--- a/shardweb/lib/shard_web/views/room_view.ex
+++ b/shardweb/lib/shard_web/views/room_view.ex
@@ -2,6 +2,6 @@ defmodule ShardWeb.RoomView do
use ShardWeb, :view
def shard_list do
- :ets.tab2list(:shard_db)
+ Shard.Manager.list_shards
end
end