Friday, October 1, 2010

RE: Odd DESCRIBE issue

I thought DECRIBE is when (debug, 2) ?
And to increase the time between DESCRIBE there is a way to change it from
the set 10 second or what not to whatever time you want. So it describes
every min rather than every request.


open configure.php in cake/libs/
locate the function __loadBootstrap
inside this function locate the following
if (Configure::read() >= 1) {
$duration = '+10 seconds';
} else {
$duration = '+999 days';
}

Change the '+10 seconds' according to your requirement, say you want to
describe a query every 1 minute, you would change it to
if (Configure::read() >= 1) {
$duration = '+1 minute';
} else {
$duration = '+999 days';
}

No?


-----Original Message-----
From: j.blotus [mailto:j.blotus@gmail.com]
Sent: October-01-10 10:47 PM
To: CakePHP
Subject: Re: Odd DESCRIBE issue

DESCRIBE is taking what, 0-1ms each?

On Oct 1, 6:50 pm, Jack Timmons <codeac...@codeacula.com> wrote:
> On Fri, Oct 1, 2010 at 5:15 PM, majna <majna...@gmail.com> wrote:
> > Upgrade to 1.3.4?
>
> You know, the answer for when it was happening in 1.2 was to upgrade to
1.3.
>
> I find that funny.
>
> I'll upgrade again and see what happens. I'm just trying to get
> something done to speed up these pages until I can move the department
> to something else.
>
> --
> Jack Timmons
> @_Codeacula

Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: