Obihoernchen / ChaosWG-Manager

ChaosWG-Manager is a living community planner.
GNU Affero General Public License v3.0
2 stars 0 forks source link

Make sqlite multithread compatible #8

Open Obihoernchen opened 6 years ago

Obihoernchen commented 6 years ago

Right now multi-threading does not work reliable because the page reload after setting a new task state does not update the content. fixed by https://github.com/Obihoernchen/ChaosWG-Manager/commit/0fb35ae5509482144b18769097dae064e82d0b84

But still sqlite is not multi thread compatible unless you use for instance peewee's SqliteQueueDatabase.

Therefore, for now we need to use only 1 thread. But it's not an application with concurrent users so it probably does not really matter.

Obihoernchen commented 6 years ago

0fb35ae fixed the task set issue