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

+4-3
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)