Dave,

Sorry to be flippant but it kind of depends on what you are doing inside the
lock doesn't it?

If you are setting a massive query which takes 5 mins to execute to a
session var (not that I recommend this) then your lock better be longer than
5 mins. If you are setting a session var to an empty string you need hardly
any time at all.

Don


----- Original Message -----
From: "Bosky, Dave" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, October 05, 2001 8:53 AM
Subject: CFLOCK timeouts


> What is the average amount of time used for the timeout parameter of the
> cflock tag?
> I use <CFLOCK scope="Session" timeout="30" type="Exclusive"> and have been
> receiving  'Timed out while waiting to obtain exclusive access' errors
> frequently.
>
> Obviously I should increase the timeout but does this indicate problems
> elsewhere in my code or server settings?
>
> Thanks,
> Dave
>
>
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to