Content-Length: 322921 | pFad | http://github.com/electric-sql/phoenix_sync/commit/a0daa7ab3e629477929a03853447b4117dc47e2f

93 update electric and electric_client · electric-sql/phoenix_sync@a0daa7a · GitHub
Skip to content

Commit a0daa7a

Browse files
committed
update electric and electric_client
1 parent 6702aed commit a0daa7a

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

lib/phoenix/sync/electric.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@ defmodule Phoenix.Sync.Electric do
364364
:error ->
365365
opts
366366
end
367+
# TODO: remove this once https://github.com/electric-sql/electric/pull/2863
368+
# is released
369+
|> Keyword.put_new(:http_api_num_acceptors, nil)
367370
end
368371
else
369372
defp start_embedded(_env, _mode, _db_config_fun, _message) do

lib/phoenix/sync/plug/cors.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ defmodule Phoenix.Sync.Plug.CORS do
1515
"electric-handle",
1616
"electric-offset",
1717
"electric-schema",
18-
"electric-up-to-date"
18+
"electric-up-to-date",
19+
"electric-internal-known-error"
1920
]
2021

2122
@expose_headers ["transfer-encoding" | @electric_headers]

mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ defmodule Phoenix.Sync.MixProject do
4141
{:plug, "~> 1.0"},
4242
{:jason, "~> 1.0"},
4343
{:ecto_sql, "~> 3.10", optional: true},
44-
{:electric, "~> 1.0.6", optional: true},
45-
{:electric_client, ">= 0.5.0-beta-1"}
44+
{:electric, "~> 1.0.21", optional: true},
45+
{:electric_client, "~> 0.6.3"}
4646
] ++ deps_for_env(Mix.env())
4747
end
4848

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/electric-sql/phoenix_sync/commit/a0daa7ab3e629477929a03853447b4117dc47e2f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy