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
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -192,8 +192,15 @@ class CryptologMiddleware implements HttpKernelInterface {
          $backend = $chained_fast;
      }
    }
    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);
    }
  }

  /**
   * Stores salt and day of year in the cache.