diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-02-25 14:07:36 +0400 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-02-25 14:07:36 +0400 |
commit | 710cffc6d7f1ca40392c77d603f6dce9ef8b34ac (patch) | |
tree | f3c2c9efecca84141ac5be69067765ad7b230f54 /config | |
parent | 9f20580ed7338e72ffeadff86c0d605a2802c957 (diff) |
Add reaping_frequency for MySQL production DB
This helped avoid ActiveRecord::ConnectionTimeoutError errors for
Sidekiq on GitLab Cloud.
Diffstat (limited to 'config')
-rw-r--r-- | config/database.yml.mysql | 1 |
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 |