Commit ed3e5b3b by ‘chizw’

数据库超时设置

1 parent 822daa45
...@@ -30,7 +30,7 @@ class MysqlHelper: ...@@ -30,7 +30,7 @@ class MysqlHelper:
user=self.user, user=self.user,
password=self.password, password=self.password,
database=self.db, charset='utf8', database=self.db, charset='utf8',
write_timeout=999999) write_timeout=99999999)
self.cursor = self.con.cursor() self.cursor = self.con.cursor()
self._instance = MysqlHelper self._instance = MysqlHelper
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!