thomersch / openstreetmap-calendar

osmcal, a Collaborative Calendar for OpenStreetMap-related Events
https://osmcal.org
Apache License 2.0
33 stars 9 forks source link

Switch background task library #164

Open thomersch opened 3 months ago

thomersch commented 3 months ago

Rationale: We're using django-background-tasks for running asynchronous jobs. This library doesn't get any updates anymore and doesn't seem to support neither Django 4 nor Python 3.12.

Possible solutions:

  1. Fork the library and make the necessary changes. It doesn't seem too large, so it might be doable.
  2. Swap out for a different library.

Constraints:

  1. I don't want to add new infrastructure, it should work with PostgreSQL as backend. (This eliminates Celery)
  2. The library shouldn't be too heavy. We don't need many features, just delayed jobs that can be picked up by a worker.
  3. Should play somehow nicely with Django without having to write too much additional boilerplate.
mvexel commented 4 weeks ago

Is this fork an option?