Is there a parameter for PhusionPassenger.on_event that will act for after_fork? instead of :starting_worker_process
I would like to monkey patch class and method of rails controllers and models that run in passenger. The problem is that the rails will reloads if the rails noticed an updates in class or controller and model while the passenger creates new process that gives me a hard time since the monkey patched classes where reset to original.
Is there a way how to do it?
Aucun commentaire:
Enregistrer un commentaire