gitlab-org--gitlab-foss/config/database.yml.mysql
Jacob Vosmaer 710cffc6d7 Add reaping_frequency for MySQL production DB
This helped avoid ActiveRecord::ConnectionTimeoutError errors for
Sidekiq on GitLab Cloud.
2014-02-25 11:07:36 +01:00

40 lines
808 B
YAML

#
# PRODUCTION
#
production:
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_production
pool: 10
reaping_frequency: 10
username: git
password: "secure password"
# host: localhost
# socket: /tmp/mysql.sock
#
# Development specific
#
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_development
pool: 5
username: root
password: "secure password"
# socket: /tmp/mysql.sock
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test: &test
adapter: mysql2
encoding: utf8
reconnect: false
database: gitlabhq_test
pool: 5
username: root
password:
# socket: /tmp/mysql.sock