Skip to content

Commit

Permalink
fix: replace @replicas map key from atom to string
Browse files Browse the repository at this point in the history
  • Loading branch information
w3b6x9 committed Jun 24, 2022
1 parent 3284b72 commit f5242c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/realtime/repo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ defmodule Realtime.Repo do
@pool_size 2

@replicas %{
fra: Realtime.Repo.Replica.FRA,
iad: Realtime.Repo.Replica.IAD,
sin: Realtime.Repo.Replica.SIN
"fra" => Realtime.Repo.Replica.FRA,
"iad" => Realtime.Repo.Replica.IAD,
"sin" => Realtime.Repo.Replica.SIN
}

def with_dynamic_repo(credentials, callback) do
Expand Down

0 comments on commit f5242c8

Please sign in to comment.