Reset FingersCrossedHandler
after request
#54595
Unanswered
CViniciusSDias
asked this question in
Q&A
Replies: 1 comment 10 replies
-
Symfony doesn't know your runtime is Swoole. You can create your own implementation of \Symfony\Component\Runtime\RuntimeInterface for Swoole that will call ServicesResetter or register an event listener that resets services on kernel.terminate (with the lowest priority possible). |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After a message is handled, symfony resets the container, which can reset the
FingersCrossedHandler
from monolog.That should probably also be done after requests are processed in statefull runtimes (such as Swoole), right?
Beta Was this translation helpful? Give feedback.
All reactions