Remove max_breadcrumbs limit#1890
Conversation
|
Not putting a limit on breadcrumbs led to memory leaks in the past, especially in long running processes (like a queue consumer, i.e. Symfony Messenger' I would advise against not having a default limit. |
|
I haven't thought about memory issues yet. Thanks for bringing that up! However, I believe that "blocking" users from increasing this value to I guess, we could warn about potential memory issues with an increased limit in the docs. What do you think? P.S. The "bug" that the cursor bot mentioned is an intentional change, to keep it consistent with other similar options, e.g. Line 1323 in 82dca2e |
|
I think allowing to send more breadcrumbs should be mostly fine. I would however recommend to maybe consider switching to logs in the long run. |
Using `$value >= 0` will also work with `null` values
Description
This PR removes the limit for the
max_breadcrumbsoption, which was previously set to100.Reasoning
The documentation clearly states there isn't a hard upper limit, but rather a soft limit imposed due to the maximum payload size.