Skip to content

Commit

Permalink
Bump connection pool size to 20 lazy workers
Browse files Browse the repository at this point in the history
  • Loading branch information
alco committed Sep 30, 2023
1 parent bc04735 commit 0d4bc8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defmodule Electric.Postgres.ConnectionPool do
worker: {__MODULE__, conn_config},
# only connect when required, not immediately
lazy: true,
pool_size: 4,
pool_size: 20,
worker_idle_timeout: 30_000,
name: name(Connectors.origin(conn_config))
)
Expand Down

0 comments on commit 0d4bc8a

Please sign in to comment.