Skip to content

Commit

Permalink
Fixes #3055: Update memcache settings to match changes in Drupal memc…
Browse files Browse the repository at this point in the history
…ache module. (#3058) (#3067)

* Require drupa/memcache equal or greater than 2.0-alpha7.
* Updating memcache settings based on change in drupal/memcache module.
  • Loading branch information
ba66e77 committed Sep 7, 2018
1 parent 7d91fc7 commit 255ad26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.suggested.json
Expand Up @@ -13,7 +13,7 @@
"drupal/cog": "^1.0.0",
"drupal/devel": "^1.0.0",
"drupal/qa_accounts": "^1.0.0-alpha1",
"drupal/memcache": "^2.0-alpha5",
"drupal/memcache": "^2.0-alpha7",
"drupal/seckit": "^1.0.0-alpha2",
"drupal/security_review": "*",
"drupal/shield": "^1.0.0",
Expand Down
6 changes: 3 additions & 3 deletions settings/memcache.settings.php
Expand Up @@ -37,12 +37,12 @@
'class' => 'Drupal\Core\Site\Settings',
'factory' => 'Drupal\Core\Site\Settings::getInstance',
],
'memcache.config' => [
'class' => 'Drupal\memcache\DrupalMemcacheConfig',
'memcache.settings' => [
'class' => 'Drupal\memcache\MemcacheSettings',
'arguments' => ['@settings'],
],
'memcache.backend.cache.factory' => [
'class' => 'Drupal\memcache\DrupalMemcacheFactory',
'class' => 'Drupal\memcache\MemcacheDriverFactory',
'arguments' => ['@memcache.config'],
],
'memcache.backend.cache.container' => [
Expand Down

0 comments on commit 255ad26

Please sign in to comment.