Skip to content

Commit ca34f50

Browse files
committed
minor #20858 [RateLimiter] default lock_factory to auto (kbond)
This PR was merged into the 7.3 branch. Discussion ---------- [RateLimiter] default `lock_factory` to `auto` Ref: symfony/symfony#60099 Closes #20854. This is a small DX improvement so don't think it needs too much explanation. Commits ------- eb5f908 [RateLimiter] default `lock_factory` to `auto`
2 parents 8d49bfa + eb5f908 commit ca34f50

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)