Browse Source

Set database pool size in database.yml

tags/v1.0.0
Benjamin Neff 5 years ago
parent
commit
e563454368
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      diaspora/files/database.yml

+ 2
- 2
diaspora/files/database.yml View File

@@ -13,7 +13,7 @@ postgresql: &postgresql
mysql: &mysql
adapter: mysql2
host: {{ database.host }}
port: {{ pillar.get("diaspora:database:port", 3306) }}
port: {{ salt["pillar.get"]("diaspora:database:port", 3306) }}
username: {{ database.username }}
password: "{{ database.password }}"
# socket: /tmp/mysql.sock
@@ -27,7 +27,7 @@ common: &common
<<: *{{ database.type }}

# Should match environment.sidekiq.concurrency
#pool: 25
pool: {{ salt["pillar.get"]("diaspora:database:pool", 5) }}

##################################################
#### CONFIGURE ABOVE #############################

Loading…
Cancel
Save