uchicago-cs / chigame

BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Research ways to configure background tasks with SQLite #407

Open jiyeongchloe opened 9 months ago

jiyeongchloe commented 9 months ago

Goals: For Issues #269, #224, and #222, we were restricted to managing match_status updates to AJAX requests on the front-end because we concluded that SQLite is not advanced enough to support Django's background-tasks feature. There were a couple problems with this since nothing could be changed in the database until someone actively viewed the lobby detail page and/or clicked join match in that page. We want to figure out how to run this process automatically so that we are not relying on user activity for these updates to happen. We should come up with at least 3 possibilities to configure these background tasks. (For the record, Celery also does not appear to be compatible with SQLite)

Deliverables: