From 17af773fdc1fd609f6bd3f1d27d1dbb8b798bd71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Pe=CC=81rez=20Crespo?= <jaime.perez@uninett.no>
Date: Wed, 18 Mar 2020 16:17:33 +0100
Subject: [PATCH] Remove buffered writes from memcache example

They seem to cause trouble, also inconsistent behaviour between versions of the memcached extension.
---
 config-templates/config.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/config-templates/config.php b/config-templates/config.php
index fd98b1c1b..af39f6ef5 100644
--- a/config-templates/config.php
+++ b/config-templates/config.php
@@ -675,7 +675,6 @@ $config = [
      *              \Memcached::OPT_NO_BLOCK => true,
      *              \Memcached::OPT_TCP_NODELAY => true,
      *              \Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
-     *              \Memcached::OPT_BUFFER_WRITES => true,
      *         ],
      *         ['hostname' => '127.0.0.1', 'port' => 11211],
      *         ['hostname' => '127.0.0.2', 'port' => 11211],
@@ -687,7 +686,6 @@ $config = [
      *              \Memcached::OPT_NO_BLOCK => true,
      *              \Memcached::OPT_TCP_NODELAY => true,
      *              \Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
-     *              \Memcached::OPT_BUFFER_WRITES => true,
      *         ],
      *         ['hostname' => '127.0.0.3', 'port' => 11211],
      *         ['hostname' => '127.0.0.4', 'port' => 11211],
-- 
GitLab