From 9d4014e4919a87a4be82be3e66b80c654254c4ed 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