User "Hashar" changed the status of MediaWiki.r101488.

Old Status: new
New Status: fixme

User "Hashar" also posted a comment on MediaWiki.r101488.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/101488#c25274
Commit summary:

Cache the result of User::getDefaultOptions(), so the UserGetDefaultOptions 
hook (introduced in r97365) is run only once rather than on every call. 
Discovered this issue after seeing an insane number of memcached fetches in my 
RL2 code, caused by a UserGetDefaultOptions hook accessing the Gadgets storage 
backend (which has a memc layer) and being called a zillion times due to this 
bug.

Comment:

breaks some parser tests :-)


_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to