From 710cffc6d7f1ca40392c77d603f6dce9ef8b34ac Mon Sep 17 00:00:00 2001
From: Jacob Vosmaer <contact@jacobvosmaer.nl>
Date: Tue, 25 Feb 2014 11:07:36 +0100
Subject: [PATCH] Add reaping_frequency for MySQL production DB

This helped avoid ActiveRecord::ConnectionTimeoutError errors for
Sidekiq on GitLab Cloud.
---
 config/database.yml.mysql | 1 +
 1 file changed, 1 insertion(+)

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
-- 
GitLab