Infinite loop on database operational error when running task
If a task generate an database operational error on a server without database channel, the task is pushed again into the Transaction.tasks
and so the while
loop is never exited.
For me we should log the error as critical and not repost the task. This is the behavior that is the closest to what would happen with database channel.