disable threading in sqlalchemy demo (in-memory db) (#709)

- disable threading in sqlalchemy demo
This commit is contained in:
Daniel Grossmann-Kavanagh
2018-10-04 22:55:30 +10:00
committed by João Santos
parent 1596f18b3d
commit 08faf2aa86

View File

@@ -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
)