User::pingLimiter() profiles per action as well
authorAntoine Musso <hashar@free.fr>
Mon, 19 May 2014 10:45:11 +0000 (12:45 +0200)
committerAntoine Musso <hashar@free.fr>
Mon, 19 May 2014 10:45:11 +0000 (12:45 +0200)
commit1b0603ce0f4f5547b8117ade8251866628d1aee6
treef3f2563f3838190ef26d7873c6e66c1fa5d7cb87
parent638478158aa1d93b2e5b80c9b52c859d5802ed26
User::pingLimiter() profiles per action as well

We had an outage beginning of may that involved rate limiting of the
'renderfile-nonstandard' action.  This makes User::pingLimiter() to
record a per action profiling point in addition to the generic one, that
would let us finely graph actions being throttled.

Ref:
https://wikitech.wikimedia.org/wiki/Incident_documentation/20140503-Thumbnails#What_can_be_improved

Bug: 65477
Change-Id: Iac7930e85f7d9101663656ccb2bccdbebf908693
RELEASE-NOTES-1.24
includes/User.php