cxhy 4 months ago
parent
commit
1e256218e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      model.py

+ 1 - 1
model.py

@@ -19,7 +19,7 @@ def get_db():
                              port=3306,
                              max_connections=32,
                              stale_timeout=300,
-                             wait_timeout=300, )
+                             timeout=10, )
     logging.getLogger().setLevel(logging.INFO)
     logging.info("get db")
     print("get db 2222")