CACHE_BACKEND argument name doesn't match code
|Reported by:||John-Scott Atlakson||Owned by:||Jacob|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
According to the cache docs, there is a parameter called
cull_percentage but in the code, this is called
cull_frequency and there is no reference in the code at all to
cull_percentage. Apparently this hasn't bitten anyone as the problem was first noticed over a year ago.
From my understanding of the code,
cull_percentage is a more accurate description of what happens but this would require changing code to match the docs. I have no skin in this game as I don't use any of the affected cache backends, I just noticed it while reviewing the settings relevant to memcache.
Change History (7)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|