Skip to content

Commit

Permalink
remove unnecesary function
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecabaco committed Nov 18, 2024
1 parent b222f17 commit 06f886b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/realtime/user_counter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,4 @@ defmodule Realtime.UsersCounter do
def tenant_users(node_name, tenant) do
:syn.member_count(:users, tenant, node_name)
end

@doc """
Returns all tenant ids connected on current node
"""
@spec active_tenants_on_node() :: [String.t()]
def active_tenants_on_node() do
:syn.local_group_names(:users)
end
end

0 comments on commit 06f886b

Please sign in to comment.