Skip to content

Commit

Permalink
disable threading in sqlalchemy demo (in-memory db) (spec-first#709)
Browse files Browse the repository at this point in the history
- disable threading in sqlalchemy demo
  • Loading branch information
dtkav authored and jmcs committed Oct 4, 2018
1 parent 1596f18 commit 08faf2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/sqlalchemy/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,7 @@ def shutdown_session(exception=None):


if __name__ == '__main__':
app.run(port=8080)
app.run(
port=8080,
threaded=False # in-memory database isn't shared across threads
)

0 comments on commit 08faf2a

Please sign in to comment.