Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
villanueval committed Oct 28, 2024
1 parent e8110b5 commit ccc3848
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def newroute(route, *args, **kwargs):
password=settings.password,
database=settings.database,
port=settings.port,
autocommit=True)
autocommit=True,
wait_timeout=600)
conn.time_zone = '-04:00'
cur = conn.cursor(dictionary=True)
except mysql.connector.Error as err:
Expand Down

0 comments on commit ccc3848

Please sign in to comment.