File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ Configuration
122
122
* `provider `_
123
123
* `clearer `_
124
124
* `prefix_seed `_
125
+ * :ref: `lock <reference-lock >`
125
126
126
127
secret
127
128
~~~~~~
@@ -1733,6 +1734,17 @@ It's also useful when using `blue/green deployment`_ strategies and more
1733
1734
generally, when you need to abstract out the actual deployment directory (for
1734
1735
example, when warming caches offline).
1735
1736
1737
+ .. _reference-lock :
1738
+
1739
+ lock
1740
+ ~~~~~
1741
+
1742
+ **type **: ``string ``
1743
+
1744
+ The default lock adapter. If not defined the value is set to ``semaphore `` when
1745
+ availabale, or to ``flock` otherwise. Store's DSN are also allowed.
1746
+
1747
+
1736
1748
Full Default Configuration
1737
1749
--------------------------
1738
1750
@@ -1894,6 +1906,14 @@ Full Default Configuration
1894
1906
provider: ~
1895
1907
clearer: ~
1896
1908
1909
+ # lock configuration
1910
+ lock:
1911
+ invoice: 'redis://localhost'
1912
+ report: semaphore
1913
+ # lock: ~
1914
+ # lock: 'flock'
1915
+ # lock: ['semaphore', 'redis://localhost']
1916
+
1897
1917
.. _`HTTP Host header attacks`: http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
1898
1918
.. _`Security Advisory Blog post`: https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released#cve-2013-4752-request-gethost-poisoning
1899
1919
.. _`Doctrine Cache`: http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html
You can’t perform that action at this time.
0 commit comments