Skip to content

Commit 121c57b

Browse files
committed
fix reconnect
1 parent 645ef49 commit 121c57b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

catgraph-jsonp.fcgi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def checklogconn(config):
105105
app.logconn.ping()
106106
except MySQLdb.OperationalError as ex:
107107
if ex[0]==2006: # mysql server has gone away
108-
mklogcursor()
108+
mklogcursor(config)
109109
else:
110110
raise
111111
return True

0 commit comments

Comments
 (0)