mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-06 22:15:20 +02:00
Adjust queues to prioritize account syncs (#1682)
This commit is contained in:
parent
7d04ea1071
commit
3140835f28
12 changed files with 37 additions and 12 deletions
|
@ -1,7 +1,8 @@
|
|||
default: &default
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
# 3 connections for Puma, 8 for GoodJob (in async mode, the default for self-hosters) = 11 connections
|
||||
pool: <%= ENV.fetch("DB_POOL_SIZE") { 11 } %>
|
||||
host: <%= ENV.fetch("DB_HOST") { "127.0.0.1" } %>
|
||||
port: <%= ENV.fetch("DB_PORT") { "5432" } %>
|
||||
user: <%= ENV.fetch("POSTGRES_USER") { nil } %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue