diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 8249ec12eec..ec0c5285eda 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -122,6 +122,7 @@ Configuration * `provider`_ * `clearer`_ * `prefix_seed`_ +* :ref:`lock ` secret ~~~~~~ @@ -1733,6 +1734,16 @@ It's also useful when using `blue/green deployment`_ strategies and more generally, when you need to abstract out the actual deployment directory (for example, when warming caches offline). +.. _reference-lock: + +lock +~~~~~ + +**type**: ``string`` + +The default lock adapter. If not defined the value is set to ``semaphore`` when +available, or to ``flock`` otherwise. Store's DSN are also allowed. + Full Default Configuration -------------------------- @@ -1894,6 +1905,14 @@ Full Default Configuration provider: ~ clearer: ~ + # lock configuration + lock: + invoice: 'redis://localhost' + report: semaphore + # lock: ~ + # lock: 'flock' + # lock: ['semaphore', 'redis://localhost'] + .. _`HTTP Host header attacks`: http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html .. _`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 .. _`Doctrine Cache`: http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy