diff --git a/core/core.api.php b/core/core.api.php index fbededa..23be3cf 100644 --- a/core/core.api.php +++ b/core/core.api.php @@ -607,7 +607,7 @@ * @endcode * * For cache bins that are stored in the database, the number of rows is limited - * to 10,000 by default. This can be changed for all database cache bins: + * to 5000 by default. This can be changed for all database cache bins: * @code * $settings['database_cache_max_rows']['default'] = 50000; * @endcode diff --git a/core/lib/Drupal/Core/Cache/DatabaseBackend.php b/core/lib/Drupal/Core/Cache/DatabaseBackend.php index a9983e6..7860ed0 100644 --- a/core/lib/Drupal/Core/Cache/DatabaseBackend.php +++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php @@ -19,7 +19,7 @@ class DatabaseBackend implements CacheBackendInterface { /** * The default maximum number of rows that this cache bin table can store. */ - const DEFAULT_MAX_ROWS = 10000; + const DEFAULT_MAX_ROWS = 5000; /** * -1 means "no maximum".