Page MenuHomePhabricator

[WBQC] Don’t use Unix timestamp as cache expiry in WikibaseQualityConstraints
Open, Needs TriagePublic

Description

The ExpiryLock class in WikibaseQualityConstraints currently passes a Unix timestamp as the TTL into BagOStuff. This pattern has caused problems in the past (T286260), and we should stop doing that and use a relative expiry (number of seconds) instead.

Acceptance Criteria: 🏕️🌟(September 2021):

  • BagOStuff::set() no longer gets called with a Unix timestamp as the third parameter

Event Timeline

ItamarWMDE renamed this task from Don’t use Unix timestamp as cache expiry in WikibaseQualityConstraints to [WDQC] Don’t use Unix timestamp as cache expiry in WikibaseQualityConstraints.Sep 20 2023, 3:00 PM
ItamarWMDE moved this task from Incoming to [DOT] By Project on the wmde-wikidata-tech board.
ItamarWMDE renamed this task from [WDQC] Don’t use Unix timestamp as cache expiry in WikibaseQualityConstraints to [WBQC] Don’t use Unix timestamp as cache expiry in WikibaseQualityConstraints.Nov 8 2023, 10:52 AM