constant DatabaseBackend::DEFAULT_MAX_ROWS in Drupal 8
Same name and namespace in other branches
- 9 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;