Closed bsormagec closed 2 years ago
Ah crap, it might be that the static data is leaking between instances and it's being filled multiple times. I might have to make the data non-static and tie it to the app as a singleton class.
Ah crap, it might be that the static data is leaking between instances and it's being filled multiple times. I might have to make the data non-static and tie it to the app as a singleton class.
I can't find the solution and just wanna mention you here thank you for your answer. When you did these changes. I can decrease my vapor invoice :) Thank you. @Tarpsvo
Hi @bsormagec!
I refactored the backend code to store the $fields and $casts etc in a singleton tied to the $app instance. This should fix the data leaking between instances.
Can you test out version 3.4.0? Thanks!
Good luck!
Thank you @Tarpsvo i am testing and giving feedback ASAP!
Hello @Tarpsvo. It worked! Thank you so much! We can close the issue now, great work!
Awesome, glad to hear that. :)
When trying to use with octane, Settings appears 3 times everywhere. I am attaching pictures below. Do you have any idea about the situation @simonhamp ? Thank you.