8000 minor #6215 Added a caution about failing cache warmers (javiereguiluz) · symfony/symfony-docs@ce3e36c · GitHub
[go: up one dir, main page]

Skip to content

Commit ce3e36c

Browse files
committed
minor #6215 Added a caution about failing cache warmers (javiereguiluz)
This PR was merged into the 2.3 branch. Discussion ---------- Added a caution about failing cache warmers | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | all | Fixed tickets | - This was asked for in symfony/symfony#11526 Commits ------- dc62504 Added a caution about failing cache warmers
2 parents 2947b32 + dc62504 commit ce3e36c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

reference/dic_tags.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,13 @@ tag:
456456
The ``priority`` value is optional and defaults to 0. The higher the
457457
priority, the sooner it gets executed.
458458

459+
.. caution::
460+
461+
If your cache warmer fails its execution because of any exception, Symfony
462+
won't try to execute it again for the next requests. Therefore, your
463+
application and/or bundles should be prepared for when the contents
464+
generated by the cache warmer are not available.
465+
459466
Core Cache Warmers
460467
~~~~~~~~~~~~~~~~~~
461468

0 commit comments

Comments
 (0)
0