Skip to content

Commit eb5f908

Browse files
committed
[RateLimiter] default lock_factory to auto
1 parent 9ebfea8 commit eb5f908

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

rate_limiter.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,10 @@ simultaneous requests (e.g. three servers of a company hitting your API at the
461461
same time). Rate limiters use :doc:`locks </lock>` to protect their operations
462462
against these race conditions.
463463

464-
By default, Symfony uses the global lock configured by ``framework.lock``, but
465-
you can use a specific :ref:`named lock <lock-named-locks>` via the
466-
``lock_factory`` option (or none at all):
464+
By default, if the :doc:`lock </lock>` component is installed, Symfony uses the
465+
global lock configured by ``framework.lock``, but you can use a specific
466+
:ref:`named lock <lock-named-locks>` via the ``lock_factory`` option (or none
467+
at all):
467468

468469
.. configuration-block::
469470

0 commit comments

Comments
 (0)
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