On Mon, Jun 22, 2009 at 11:33 PM, PD<[email protected]> wrote: > > Hello Everyone, > > I am developing a simple cake application which is causing CPU > spikes. I dont know what I am doing wrong. I have pasted my controller > code below. > > class DatasyncController extends AppController > { > (..) > exit(); > } > }
Maybe not exactly related to your problem, but this code is extremelly hard to read, to test, to profile and to search for a problem. Respect the recomendation and use poor controllers and rich models. Best regards. -- MARCELO DE F. ANDRADE Belem, PA, Amazonia, Brazil Linux User #221105 http://mfandrade.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
