Skip to content

Commit 7314c01

Browse files
committed
fixup! Do not persist validation connection opts across conn man restarts
1 parent 2101152 commit 7314c01

File tree

1 file changed

+1
-0
lines changed
  • packages/sync-service/lib/electric/connection

1 file changed

+1
-0
lines changed

packages/sync-service/lib/electric/connection/manager.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ defmodule Electric.Connection.Manager do
326326
# configuration that is no longer valid. We always start connection manager with the
327327
# options specified by the user to avoid gettting into an unrecoverable failure state.
328328
Electric.StackConfig.erase(stack_id, @validated_conn_opts_config_key)
329+
state
329330
end
330331

331332
defp update_validated_connection_opts(%{stack_id: stack_id} = state, type, validated_opts) do

0 commit comments

Comments
 (0)