To reply to myself, I think the answer is b):

http://www.bennadel.com/blog/626-CFSetting-RequestTimeout-Updates-Timeouts-I
t-Does-Not-Set-Them.htm

 

> -----Original Message-----
> From: Richard Meredith-Hardy [mailto:[EMAIL PROTECTED] 
> Sent: 20 May 2008 15:07
> To: CF-Talk
> Subject: RE: requestTimeout behaviour
> 
> Yes, this is probably correct, but if you start off with a 
> timeout of, say 600 sec, and then later in the script set a 
> timeout of 300, is it:
> a) 900 for the whole script (ie cumulative)
> b) 300 for the whole script (ie reset)
> c) actual time taken before 2nd reset + that value.
> 
> Richard
>  
> 
> > -----Original Message-----
> > From: Adrian Lynch [mailto:[EMAIL PROTECTED]
> > Sent: 20 May 2008 11:25
> > To: CF-Talk
> > Subject: RE: requestTimeout behaviour
> > 
> > I'm gonna take a stab and say that <cfsetting 
> > requesttimeout="seconds"> only works for the request and not the 
> > individual actions/calls etc. in the request.
> > 
> > Adrian
> > http://www.adrianlynch.co.uk/
> > 
> > -----Original Message-----
> > From: Richard Meredith-Hardy [mailto:[EMAIL PROTECTED]
> > Sent: 20 May 2008 10:09
> > To: CF-Talk
> > Subject: requestTimeout behaviour
> > 
> > 
> > Of course I could mess about with experiments, but can 
> somebody tell 
> > me how <CFSETTING requesttimeout="seconds"> behaves in CF8?
> > 
> > Specifically:  I have a series of quite long running 
> operations which 
> > are scheduled to occur every 15 min, what I want to avoid 
> is the total 
> > overrunning 15 min so another instance starts before the 
> last one has 
> > finished. (this is retreiving stuff down a leased line which is 
> > usually fast but sometimes very slow).
> > 
> > so, if:
> > I put a timeout of 5 min (300) on Operation A and then a 
> timeout of 3 
> > min (180) on Operation B
> > 
> > and then Operation A completes in 1 min,
> > 
> > does the new timeout on operation B have a further 3 min to run the 
> > request, or is the OVERALL timeout of the request actually 
> reduced to 
> > 3 min, so in fact I have only 2 min to run before it times out?
> > 
> > Note that I don't want to use CFTHREAD with this, because it's 
> > important Operation A completes before Operation B starts.  
> The logic 
> > of the thing stops Operation B running at all if Operation 
> A fails to 
> > complete.
> > 
> > Thanks
> > 
> > Richard
> > 
> > 
> > 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305709
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to