HomePhabricator

Add caching to looking up totals
b03b1979b5b1Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add caching to looking up totals

The query itself is too expensive to be run on large Wikimedia wikis. So
put it behind memcache and increment/decrement the count for each
category as we add and delete errors from the database.

If this happens to get out of sync, it will get fully refreshed
regularly when the totals are sent to statsd.

Change-Id: I3774103a29fa0f29d36283950f136259fa71bffe

Details

Provenance
LegoktmAuthored on Apr 28 2017, 8:04 PM
Parents
rELINTbc8d2d9a5ddd: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
References
refs/changes/58/350958/2
ChangeId
I3774103a29fa0f29d36283950f136259fa71bffe