Subject: | defer_obj never cleared? |
While reviewing a task that would not clear, I noticed that _remove_task_from_deferral_object is never called with arguments. Given the first line of the sub returns if $task isn't passed, I think this was a mistake.
Additionally, once the queue is in this state, nothing which uses the defer tag can then ever be run. At the moment, the only way I know to clear this state is to edit the queue file by hand.
I'd point out that some startup routine should be determining if anything is running with that tag and possibly clear off defer_obj items if they're not in progress.