nabicht / SimpleTaskQueue

A simple task queue used for coordinating distributed, parallel work.
4 stars 0 forks source link

make sqlite persistence threadsafe #80

Open nabicht opened 6 years ago

nabicht commented 6 years ago

querying a task probably doesn't need to lock the database (if locking is even something I can do with sqlite3). But writing to the database and deleting it should be.

Once I'm threadsafe, flask should be set to have threaded=True (which is the default, so just remove the threaded=False)