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
122122 * `provider `_
123123 * `clearer `_
124124 * `prefix_seed `_
125+ * :ref: `lock <reference-lock >`
125126
126127secret
127128~~~~~~
@@ -1733,6 +1734,17 @@ It's also useful when using `blue/green deployment`_ strategies and more
17331734generally, when you need to abstract out the actual deployment directory (for
17341735example, when warming caches offline).
17351736
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+
17361748Full Default Configuration
17371749--------------------------
17381750
@@ -1894,6 +1906,14 @@ Full Default Configuration
18941906 provider: ~
18951907 clearer: ~
18961908
1909+ # lock configuration
1910+ lock:
1911+ invoice: 'redis://localhost'
1912+ report: semaphore
1913+ # lock: ~
1914+ # lock: 'flock'
1915+ # lock: ['semaphore', 'redis://localhost']
1916+
18971917.. _`HTTP Host header attacks`: http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
18981918.. _`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
18991919.. _`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