fudii0921 commited on
Commit
e7befe6
·
verified ·
1 Parent(s): 39da94a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -69,7 +69,9 @@ conn = mysql.connector.connect(
69
  password=os.environ.get("PASSWORD"),
70
  port=os.environ.get("PORT"),
71
  database=os.environ.get("DB"),
72
- ssl_disabled=True
 
 
73
  )
74
 
75
  cursor = conn.cursor(dictionary=True)
 
69
  password=os.environ.get("PASSWORD"),
70
  port=os.environ.get("PORT"),
71
  database=os.environ.get("DB"),
72
+ ssl_disabled=True,
73
+ connection_timeout=60,
74
+ use_pure=True
75
  )
76
 
77
  cursor = conn.cursor(dictionary=True)