Commit 58e3285
committed
minor #21578 [Lock] Explain 'retry' of lock stores over explicit 'no' (rvanlaak)
This PR was submitted for the 7.3 branch but it was squashed and merged into the 6.4 branch instead.
Discussion
----------
[Lock] Explain 'retry' of lock stores over explicit 'no'
The documented 'no' is quite explicit with regards to whether a store does not allow userland to use the lock's blocking behavior. Using 'retry' as more subtle wording, and reiterating the rationale behind retry below the table, explains that it's the lock class itself that handles blocking support.
Seeing the 'no' in the docs shocked me a bit, as it made me doubt many of the implementation I've made that leverage the lock's blocking behaviour. This PR makes the shock a bit more subtle.
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `7.x` for features of unreleased versions).
-->
Commits
-------
46403c4 [Lock] Explain 'retry' of lock stores over explicit 'no'1 file changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
402 | 402 | | |
403 | 403 | | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
404 | 407 | | |
405 | 408 | | |
406 | 409 | | |
| |||
0 commit comments