Skip to content

Conversation

@DamienHarper
Copy link
Contributor

We're currently using enqueue 0.9.4 and monolog 1.24.0 in a symfony 4.2.2 project.

We're getting OutOfMemoryException when an exception is thrown from a processor. After digging a little bit in the code base, we found that monolog loops indefinitely trying to reach every previous exception.

It looks like that the previous attribute should be set only if the original exception (coming from a processor) is strictly different than the one re-thrown by the QueueConsumer at L314)

`previous` attribute should not reference itself
@DamienHarper DamienHarper changed the title Avoid OutOfMemory exception Avoid OutOfMemoryException Jan 15, 2019
@makasim makasim merged commit 1eb6b85 into php-enqueue:master Jan 15, 2019
@makasim makasim added the bug label Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants