Skip to content

Commit

Permalink
Merge pull request aaronwmorris#1488 from aaronwmorris/dev
Browse files Browse the repository at this point in the history
Database performance improvements
  • Loading branch information
aaronwmorris authored Aug 29, 2024
2 parents 216992b + a0d81df commit fc39104
Show file tree
Hide file tree
Showing 11 changed files with 783 additions and 205 deletions.
2 changes: 1 addition & 1 deletion indi_allsky/flask/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
def _sqlite_pragma_on_connect(dbapi_con, con_record):
dbapi_con.execute('PRAGMA journal_mode=WAL')
dbapi_con.execute('PRAGMA synchronous=NORMAL')
dbapi_con.execute('PRAGMA busy_timeout=10000')
dbapi_con.execute('PRAGMA busy_timeout=20000')
#dbapi_con.execute('PRAGMA read_uncommitted=ON')
#dbapi_con.execute('PRAGMA foreign_keys=ON')

Expand Down
Loading

0 comments on commit fc39104

Please sign in to comment.