Hi all,

I have been trying to add certain rate limiting actions for my extension's
API and noticed that it doesn't work with $wgMainCacheType set to CACHE_NONE

This is because  User::pingLimiter()
uses ObjectCache::getLocalClusterInstance() to store the current rate limit
counts.

Is this the expected behavior? Looks pretty deceitful to me
as $wgMainCacheType is assumed to define the cache type but is actually
disabling a core functionality like rate limiting and maybe few others?



Regards,
Nischay Nahata
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to