Page MenuHomePhabricator

Add visitingwatchers to watchlist_count
Open, LowestPublic

Description

Add the publicly available visitingwatchers/active watchers to labs watchlist_count (Created by T59617).

Event Timeline

Dispenser, thanks for the separate task. If you are ok with that, I will put T59617 as a blocker of this, not a subtask.

The request is reasonable, but this being a very dynamic field it won't be easy. We can expose an approximation, regularly updated, but it will not be perfect. I would strongly suggest using the API if exact results are expected.

If an approximation is ok, but batch access is preferred, this is something that is totally doable and probably we will not get any objection.

I'm fine with stale data. With the API, visitingwatchers represents 0.005 per watcher checked, in total ~3 - 30 second. Is there a way to get a last modified time like with information_schema?

Is there a way to get a last modified time like with information_schema?

Not now, but we could add such information somewhere.

1978Gage2001 moved this task from Triage to In progress on the DBA board.
LSobanski triaged this task as Lowest priority.Apr 26 2021, 10:17 AM