This project is archived and is in readonly mode.

#1898 ✓resolved
Andrew White

Clearing dependencies in reload_application performance issue

Reported by Andrew White | February 6th, 2009 @ 05:40 PM

As of this commit clearing dependencies has been moved to reload_application. If a plugin loads any constants in prepare_dispatch these are then cleared and reloaded unnecessarily. This is especially the case with the Thinking Sphinx plugin which loads all models in its prepare_dispatch callback

The attached patch moves the cleanup code before prepare_dispatch so that any constants from previous requests are cleared before application/plugin code might access them.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket


Referenced by