DatabaseBackend::DEFAULT_MAX_ROWS
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/DatabaseBackend.php \Drupal\Core\Cache\DatabaseBackend::DEFAULT_MAX_ROWS
- 10 core/lib/Drupal/Core/Cache/DatabaseBackend.php \Drupal\Core\Cache\DatabaseBackend::DEFAULT_MAX_ROWS
- 11.x core/lib/Drupal/Core/Cache/DatabaseBackend.php \Drupal\Core\Cache\DatabaseBackend::DEFAULT_MAX_ROWS
The default maximum number of rows that this cache bin table can store.
This maximum is introduced to ensure that the database is not filled with hundred of thousand of cache entries with gigabytes in size.
Read about how to change it in the Cache API topic.
File
-
core/
lib/ Drupal/ Core/ Cache/ DatabaseBackend.php, line 28
Class
- DatabaseBackend
- Defines a default cache implementation.
Namespace
Drupal\Core\CacheCode
const DEFAULT_MAX_ROWS = 5000;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.