openwisp / openwisp-controller

Network and WiFi controller: provisioning, configuration management and updates, (pull via openwisp-config or push via SSH), x509 PKI management and more. Mainly OpenWRT, but designed to work also on other systems.
https://openwisp.io/docs/dev/controller/
Other
550 stars 173 forks source link

[fix] Fixed celery tasks timeouts #874

Closed pandafy closed 2 months ago

pandafy commented 2 months ago

We should not use OpenwispCeleryTask class on celery tasks that queries over several objects in the database.

coveralls commented 2 months ago

Coverage Status

coverage: 98.752%. remained the same when pulling 54206dcdb48291796e0c36fa3c690d7ac83b48a0 on fix-task-timeout into 7aceba7ed3fcf98449db9d3f004d4eac64a51c14 on master.