Skip to content

Commit

Permalink
sync service config: reduce default DB_POOL_SIZE to 20. (#1843)
Browse files Browse the repository at this point in the history
  • Loading branch information
thruflo authored Oct 15, 2024
1 parent 3ab27a6 commit b093b79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/new-windows-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@core/sync-service": patch
---

Reduce the default `DB_POOL_SIZE` to `20`.
2 changes: 1 addition & 1 deletion packages/sync-service/config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ config :electric,
instance_id: instance_id,
electric_instance_id: electric_instance_id,
telemetry_statsd_host: statsd_host,
db_pool_size: env!("DB_POOL_SIZE", :integer, 50),
db_pool_size: env!("DB_POOL_SIZE", :integer, 20),
replication_stream_id: env!("REPLICATION_STREAM_ID", :string, "default"),
service_port: env!("PORT", :integer, 3000),
prometheus_port: prometheus_port,
Expand Down

0 comments on commit b093b79

Please sign in to comment.