8000 Revert Exclusive Locks In Kernel · brianfreytag/symfony@99b040f · GitHub
[go: up one dir, main page]

Skip to content

Commit 99b040f

Browse files
committed
Revert Exclusive Locks In Kernel
PR symfony#24960 introduced an issue with nfs mounts. nfs mounts do not, by default, support exclusive locks. Fixes Issue symfony#25336
1 parent 22a6a7e commit 99b040f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public function setClassCache(array $classes)
423423
*/
424424
public function setAnnotatedClassCache(array $annotatedClasses)
425425
{
426-
file_put_contents(($this->warmupDir ?: $this->getCacheDir()).'/annotations.map', sprintf('<?php return %s;', var_export($annotatedClasses, true)), LOCK_EX);
426+
file_put_contents(($this->warmupDir ?: $this->getCacheDir()).'/annotations.map', sprintf('<?php return %s;', var_export($annotatedClasses, true)));
427427
}
428428

429429
/**

0 commit comments

Comments
 (0)
0