Skip to content

Commit 7a3a8cc

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: minor. refs #13042 refacto(Lock): FlockStore default path
2 parents fe6c38f + 3ea0737 commit 7a3a8cc

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
@@ -249,7 +249,8 @@ PHP process is terminated::
249249
use Symfony\Component\Lock\Store\FlockStore;
250250

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

254255
.. caution::
255256

0 commit comments

Comments
 (0)