Skip to content

Commit 30e849c

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: minor. refs #13042 refacto(Lock): FlockStore default path
2 parents 9cde0d5 + 7a3a8cc commit 30e849c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/lock.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ PHP process is terminated::
238238
use Symfony\Component\Lock\Store\FlockStore;
239239

240240
// the argument is the path of the directory where the locks are created
241-
$store = new FlockStore(sys_get_temp_dir());
241+
// if none is given, sys_get_temp_dir() is used internally.
242+
$store = new FlockStore('/var/stores');
242243

243244
.. caution::
244245

0 commit comments

Comments
 (0)