Baldinof / roadrunner-bundle

A RoadRunner worker integrated in your Symfony app
MIT License
255 stars 46 forks source link

[Question?] Resetting services. #103

Open Zylius opened 1 year ago

Zylius commented 1 year ago

Hello,

I was wondering about this part, specifically the

If some of your services are stateful, you can implement Symfony\Contracts\Service\ResetInterface and your service will be resetted on each request.

The reset method doesn't seem to be called in my case, could you point me to a symfony component/config I'm missing? I've debugged the container and I could probably find it myself in some time but I thought it would be easier to ask you guys.

We're running symfony 5.3.* with newest roadrunner-bundle.

Thanks!