Skip to content

Commit

Permalink
fix: add back sleep on connect initialization (#1215)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecabaco authored Nov 12, 2024
1 parent 4c5eaeb commit f0eb097
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/realtime/tenants/connect.ex
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ defmodule Realtime.Tenants.Connect do

:undefined ->
Logger.warning("Connection process starting up")
:timer.sleep(100)
{:error, :tenant_database_connection_initializing}

error ->
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Realtime.MixProject do
def project do
[
app: :realtime,
version: "2.33.39",
version: "2.33.40",
elixir: "~> 1.16.0",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit f0eb097

Please sign in to comment.