Page MenuHomePhabricator

Consider using "recentchanges" to find Web2Cit config file changes
Open, Needs TriagePublic

Description

The Web2Cit monitor queues a domain check when corresponding configuration files have changed.

To detect configuration file changes, it gets the list of configuration files, and asks for the latest revision timestamp, one by one. This is currently done every 20 minutes.

As the number of configuration files grows, this will imply more and more requests to the MediaWiki API.

Could it be possible to use the recentchanges API, and see if any of the recently changed files is a Web2Cit configuration file, instead of having to ask for the latest revision for every config file individually?

Event Timeline

it gets the list of configuration files, and asks for the latest revision timestamp, one by one.

Are we doing this with the MediaWiki API? Do we/Can we batch request?

Since we are running on Toolforge, could we use the database replicas instead? How delayed are them?