- 🇳🇱Netherlands megachriz
I've looked at this one and it appears to become quite complicated.
The issue is about picking up a queue task later when it fails. An example of a failure is when a timeout occurs during fetching data. Or a SQL error.
With what is proposed, the queue task that fails is scheduled to run one hour later. But the thing is that the other tasks in the queue still go through. During my testing that resulted into reaching the finish task and then Feeds marks the import as finished and cleans up the queue. The delayed queue task does not get picked up (unless the other tasks take longer than an hour to complete).
So not sure yet what to do with that. I thought about that the finish task checks if there are any tasks left, but then how does Feeds know when it should actually finish later on? Perhaps the finish task should become a delayed task by itself? But that does potentially cause the import to take an hour longer than necessary.