- Issue created by @yorickdv
- First commit to issue fork.
Can you please mention how to reproduce the 'feed lock' situation
- 🇳🇱Netherlands megachriz
A feed gets in a locked state as soon as an import for it gets started. It gets unlocked again when the import successfully finishes. When an import ends abruptly (for example because of a PHP fatal error), the feed remains locked.
The easiest way to get a feed in a locked state (and have it be in that state for a bit longer) is to go to a feed, click on "Import in background" (/feed/x/schedule-import) and click the button "Schedule import". This will lock the feed and create a queue task. The queue task will be performed on cron runs. So long that you don't cron, the feed remains locked (unless you unlock it manually).
You can also manually lock a feed using the drush command 'feeds:lock':
drush feeds:lock 1
'1' is the ID of the feed to lock.