Commit e98134e
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.
Merges [61562] to the 6.9 branch; merges the one line change from [61438] to the 6.9 branch.
Props peterwilsoncc, swissspidy, wildworks.
Fixes #60831.
git-svn-id: https://develop.svn.wordpress.org/branches/6.9@61563 602fd350-edb4-49c9-b593-d223f7449a821 parent fb42f0d commit e98134e
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
493 | | - | |
| 492 | + | |
| 493 | + | |
494 | 494 | | |
495 | | - | |
496 | | - | |
| 495 | + | |
| 496 | + | |
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| |||
0 commit comments