Only tasks in processing state can move to done
Only tasks in processing state can move to done. This avoids re-injected tasks and tasks in reprocessing being set to done state straight away, without being processed first.
Only tasks in processing state can move to done. This avoids re-injected tasks and tasks in reprocessing being set to done state straight away, without being processed first.