Skip to content

Commit 5026472

Browse files
committed
Make queue db connection pool size configurable
To be able to test different values for this.
1 parent ec8e45a commit 5026472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/database.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ production:
9393
<<: *primary_production
9494
database: fediscoverer_production_queue
9595
migrations_paths: db/queue_migrate
96-
pool: <%= 2 * ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
96+
pool: <%= ENV.fetch("QUEUE_CONNECTION_POOL_SIZE", ENV.fetch("RAILS_MAX_THREADS", 5)) %>

0 commit comments

Comments
 (0)