Add Cache cleanup jobs
We have some (inevitable) bogus entries in the cache after some while. Currently, there are two possible reasons for this:
- Moving of todos. Here, due to concurrent editing we have the chance to keep stale entries in the child lookup map.
- Deletion of items from parent items. This currently only deletes the item data but not the parent/child relation.
As we anyway cannot completely avoid having stale entries, we should regularly clean up the cache. For this, a new job would need to be introduced, that is regularly run.
Edited by Martin Hoeher