Skip to content

Commit

Permalink
change DB isolation lvl
Browse files Browse the repository at this point in the history
  • Loading branch information
yukonet committed May 7, 2024
1 parent ca8e1ee commit 41681d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/db_import.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import flask_sqlalchemy

db = flask_sqlalchemy.SQLAlchemy(
engine_options={ 'connect_args': { 'connect_timeout': 60 }}
engine_options={ 'connect_args': { 'connect_timeout': 60 }, 'isolation_level': "READ COMMITTED",}
)

0 comments on commit 41681d4

Please sign in to comment.