mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 05:54:21 +01:00
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user