Ver código fonte

Set database pool size in database.yml

tags/v1.0.0
Benjamin Neff 5 anos atrás
pai
commit
e563454368
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      diaspora/files/database.yml

+ 2
- 2
diaspora/files/database.yml Ver arquivo

@@ -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 #############################

Carregando…
Cancelar
Salvar