Issue #2422657 by Berdir: Skip fast chained cache backend in maintenance mode
parent
ade57a9e04
commit
a53a61f6b9
|
@ -58,7 +58,13 @@ class ChainedFastBackendFactory implements CacheFactoryInterface {
|
|||
}
|
||||
|
||||
$this->consistentServiceName = $consistent_service_name;
|
||||
$this->fastServiceName = $fast_service_name;
|
||||
|
||||
// Do not use the fast chained backend during installation. In those cases,
|
||||
// we expect many cache invalidations and writes, the fast chained cache
|
||||
// backend performs badly in such a scenario.
|
||||
if (!drupal_installation_attempted()) {
|
||||
$this->fastServiceName = $fast_service_name;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue