In #2936736: Expired items never updated the performance of populating the queue of expired items has been greatly improved by no longer performing an Entity::load() on every single item. This means we can no longer retrieve the expire time from the fields, so this is no longer populated on the expired items that are being queued, and RefreshExpiredFieldEventInterface::getExpireTime() has been deprecated.

This is a backwards compatibility break, but this is considered to be an acceptable tradeoff for the increased performance and more reliable processing of the queue. Thanks to this change all expired items are being processed and the expire time is no longer important.

Developers that require the expire time for some reason can simply retrieve this by loading the entity themselves.

Comments

pfrenssen created an issue. See original summary.

pfrenssen’s picture

Issue summary: View changes

  • pfrenssen committed 46e7b2c on 8.x-1.x
    Issue #2944191 by pfrenssen: Remove deprecated support for expire time.
    
pfrenssen’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.