From a7ac100c45f53950660bf6323356a9f13f1e9469 Mon Sep 17 00:00:00 2001 From: Brian Freytag Date: Tue, 5 Dec 2017 10:17:41 -0500 Subject: [PATCH] Remove LOCK_EX That Breaks Cache Usage on NFS This removes the exclusive lock that was introduced in #24960. NFS File Systems do not support exclusive locking, and generates a lot of errors every time you try to do anything with che cache. --- src/Symfony/Component/HttpKernel/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index 39fe4228b3cb2..286b30bc386e2 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -423,7 +423,7 @@ public function setClassCache(array $classes) */ public function setAnnotatedClassCache(array $annotatedClasses) { - file_put_contents(($this->warmupDir ?: $this->getCacheDir()).'/annotations.map', sprintf('warmupDir ?: $this->getCacheDir()).'/annotations.map', sprintf('