Skip to content
Snippets Groups Projects
Commit bcfa5a72 authored by mark burdett's avatar mark burdett
Browse files

Issue #3279170 by mfb, zebda: No client interface set. in...

Issue #3279170 by mfb, zebda: No client interface set. in Drupal\redis\ClientFactory::getClientInterface()
parent dbd1a771
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,14 @@ class CryptologMiddleware implements HttpKernelInterface {
$backend = $chained_fast;
}
}
$this->backend = $backend->get(self::BIN);
try {
$this->backend = $backend->get(self::BIN);
}
catch (\Exception $e) {
// Redis module is installed but a Redis client is not available.
$backend = $apcu ?: $chained_fast;
$this->backend = $backend->get(self::BIN);
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment