Change record status: 
Project: 
Introduced in branch: 
8.x-3.x
Introduced in version: 
8.x-3.0-beta3
Description: 

When an import starts, a feed gets locked - to prevent running an import for the same feed simultaneously. When an import finishes, the feed gets unlocked.
By default, a lock expires after 12 hours. This was problematic for imports that take longer to complete as it could cause concurrent imports to happen. To mitigate that issue, a lock can now get automatically extended after 12 hours. The new Feeds Lock service checks if an import is still active and if so, it extends the lock with another 12 hours.

This is how the Feeds Lock service determines if an import is still active:

  • It checks if there any queue items for the feed in question. If so, the import is considered active.
  • It checks if there was import activity within the last hour by checking the last_activity variable in the key/value table. If so, the import is considered active.

One caution: You may need to regular check your imports, because an import that got stuck on the queue may remain to be stuck.

Impacts: 
Site builders, administrators, editors