Commit 13eac41
committed
Site Health: Reduce thresholds for object cache threshold tests.
Reduces the object counts required for Site Health to recommend a persistent object cache in the `Tests_Admin_wpSiteHealth::test_object_cache_thresholds()` data provider.
This is to ensure that the number of objects (terms, posts, etc) are certainly below the defaults created by the test suite during set up. The new threasholds are:
- terms count: 0
- alloptions count: 1
- alloptions bytes: 10
This follows the reduction to the options count threshold to 1 in r61438.
Props peterwilsoncc, swissspidy, wildworks.
Fixes #60831.
git-svn-id: https://develop.svn.wordpress.org/trunk@61562 602fd350-edb4-49c9-b593-d223f7449a821 parent 05db13d commit 13eac41
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
| 492 | + | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
496 | | - | |
| 495 | + | |
| 496 | + | |
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| |||
0 commit comments