Avoid and detect breakages of the commit_pending mechanism
Celery can break because of corrupted database, which causes Weblate to stop committing to its repository.
One way to improve the situation seems to be to install python3-gdbm.
How to check the service is running correctly:
- Check that service
celery-weblateis running. - Check that latest
heartbeatwas<= 1minin/var/log/celery/weblate-celery.log. - Check that last
commit-pendingwas<= 1hin/var/log/celery/weblate-celery.log. - https://docs.celeryproject.org/en/stable/userguide/monitoring.html
Edited by Zen Fu