From 3ddf317bd6157b393d3c3d831d22e7347469cba6 Mon Sep 17 00:00:00 2001
From: lechuck <lechuck@autistici.org>
Date: Mon, 12 Jan 2015 00:25:11 +0000
Subject: [PATCH] disabled hyperdb check_tcp_responsiveness that causes
 excessive connection errors on mysql

---
 db-config.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/db-config.php b/db-config.php
index 365abb2b8..338e0d400 100644
--- a/db-config.php
+++ b/db-config.php
@@ -4,6 +4,10 @@
 $wpdb->persistent = true;
 $wpdb->max_connections = 30;
 
+/* Disable responsiveness check, is not needed in our configuration and is causing 
+ connection errors for the wrong implementation */
+$wpdb->check_tcp_responsiveness = false;
+
 include_once('r2db/db-hash.php');
 include_once('r2db/db-backends.php');
 
-- 
GitLab