summaryrefslogtreecommitdiff
path: root/config/database.yml.mysql
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-02-25 11:07:36 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-02-25 11:07:36 +0100
commit710cffc6d7f1ca40392c77d603f6dce9ef8b34ac (patch)
treef3c2c9efecca84141ac5be69067765ad7b230f54 /config/database.yml.mysql
parent9f20580ed7338e72ffeadff86c0d605a2802c957 (diff)
downloadgitlab-ce-710cffc6d7f1ca40392c77d603f6dce9ef8b34ac.tar.gz
Add reaping_frequency for MySQL production DB
This helped avoid ActiveRecord::ConnectionTimeoutError errors for Sidekiq on GitLab Cloud.
Diffstat (limited to 'config/database.yml.mysql')
-rw-r--r--config/database.yml.mysql1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/database.yml.mysql b/config/database.yml.mysql
index 55ac088bc1d..6943aaca45b 100644
--- a/config/database.yml.mysql
+++ b/config/database.yml.mysql
@@ -7,6 +7,7 @@ production:
reconnect: false
database: gitlabhq_production
pool: 10
+ reaping_frequency: 10
username: git
password: "secure password"
# host: localhost