From a6e64f29e54d25298cb232cfcd5e15baae16a5b8 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Tue, 12 May 2015 04:57:45 +0000 Subject: [PATCH] http://github.com/CZ-NIC/kippo/commit/395eaa0ac326fbf91c2177d7c74faa3bdf7da4fd --- kippo/dblog/mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kippo/dblog/mysql.py b/kippo/dblog/mysql.py index 285d45d..ac9a8f6 100644 --- a/kippo/dblog/mysql.py +++ b/kippo/dblog/mysql.py @@ -21,7 +21,7 @@ class ReconnectingConnectionPool(adbapi.ConnectionPool): return adbapi.ConnectionPool._runInteraction( self, interaction, *args, **kw) except MySQLdb.OperationalError as e: - if e[0] not in (2006, 2013): + if e[0] not in (2003, 2006, 2013): raise log.msg("RCP: got error %s, retrying operation" %(e)) conn = self.connections.get(self.threadID())