ActivityWatch / aw-server

ActivityWatch server for storage of all your Quantified Self data.
Mozilla Public License 2.0
95 stars 55 forks source link

Disable threading in flask #54

Closed johan-bjareholt closed 5 years ago

johan-bjareholt commented 5 years ago

Not tested at all, did this in the GitHub webui

Workaround so the sqlite datastore is only accessed from one thread.

johan-bjareholt commented 5 years ago

@ErikBjare Travis seems to be broken?

ErikBjare commented 5 years ago

That's weird, the bundle repo just built fine with the same Python version and trying to install the same version of PyInstaller...

https://travis-ci.org/ActivityWatch/activitywatch/jobs/482402008

Edit: One difference, pip was updated to 19.0

Edit 2: Seems like pip just released a 19.0.1 24min ago, maybe that's related.

ErikBjare commented 5 years ago

Alright, I reran the build with pip 19.0.1, but didn't work.

johan-bjareholt commented 5 years ago

I have now verified that this work, can I merge?