That sounds familiar.

So at the head of the TAF:

<@assign user$configPasswd value=“password">
<@ASSIGN system$querytimeout 1200>
<@purge user$configPasswd>


At the bottom:
<@assign user$configPasswd value=“password">
<@ASSIGN system$querytimeout 300>
<@purge user$configPasswd>

Wayne
> On 17 Apr 2018, at 12:45 am, Robert Shubert <[email protected]> wrote:
>
> This is accurate.
>
> You can also edit the server.ini file and change the value on line 
> QUERYTIMEOUT=
>
> If you do the @ASSIGN below, you need to <@ASSIGN system$querytimeout 1234>
>
> The <@RELOADCONFIG> tag is used to reload changes to the server.ini file 
> without restarting.
>
> If you don’t want the timeout to be permanently changed, then you need to 
> raise it at the top of this TAF and lower it again when it’s done.
>
> One last thing. Servers tend to run better with lower timeouts, since long 
> running requests can be problematic. Consider instead forking a new thread 
> like this:
>
> <@IF “<@TIMER> > <@CALC “@@querytimeout *900”>>
>                 <@URL <@DOMAIN><@APPFILE>?start={where to pickup} 
> waitforresult=false>
> </@IF>
>
> If you’re thinking about using v8, there are other methods there can do this 
> as well.
>
> Robert
>
> From: Fogelson, Steve [mailto:[email protected] <mailto:[email protected]>]
> Sent: Monday, April 16, 2018 6:40 AM
> To: [email protected] <mailto:[email protected]>
> Subject: RE: TeraScript-Talk: Request timeout
>
> I have done that before, but I don’t remember how. I do recall I had to 
> provide the system password as defined in server.ini file
>
> It may be similar to this
>
> <@assign user$configPasswd value="xxxxxxxxx">
> <@reloadconfig> or <@assign > in your case
> <@purge user$configPasswd>
>
> Steve
>
> From: Wayne Irvine <[email protected] <mailto:[email protected]>>
> Sent: Monday, April 16, 2018 12:17 AM
> To: [email protected] <mailto:[email protected]>
> Subject: Re: TeraScript-Talk: Request timeout
>
> Yes it is. And there is a procedure to override it per TAF.
>
> It is this procedure that I am not sure of.
>
> W
>
>> On 16 Apr 2018, at 11:50 am, Fogelson, Steve <[email protected] 
>> <mailto:[email protected]>> wrote:
>>
>> Hi Wayne,
>>
>> Don’t know if this is what you are looking for. Hope it helps.
>> QueryTimeout
>>
>> System scope only
>> This configuration file variable causes queries that exceed the specified 
>> number of seconds to time out and return the HTML page specified in 
>> timeoutHTML. This variable is specified in seconds. The default value of 
>> queryTimeout is 300.
>> timeoutHTML
>>
>> System scope only
>> This configuration variable points to the HTML file that is returned when a 
>> query times out in TeraScript Server. The file is by default called 
>> timeout.html and resides in the configuration directory. See “A Note on 
>> Default Locations” on page 381.
>>
>> Steve Fogelson
>>
>> From: Wayne Irvine [mailto:[email protected] 
>> <mailto:[email protected]>]
>> Sent: Sunday, April 15, 2018 6:02 PM
>> To: [email protected] <mailto:[email protected]>
>> Subject: TeraScript-Talk: Request timeout
>>
>> I know I have come across this before, but not in the last decade and I 
>> can’t find the example.
>>
>> I have a TAF that takes a while to run. It is using the Web Call action to 
>> load pages and extracting information from them. It just came up with:
>>
>> Request timeout.
>>
>> If I remember correctly queryTimeout is a configuration variable and a 
>> certain process needs to be followed to change it (and change it back at the 
>> end of the query. But I can’t remember the syntax.
>>
>> Any help would be appreciated.
>>
>> Wayne
>>
>>
>> Byteserve Pty Ltd
>> w: http://www.byteserve.com.au/ <http://www.byteserve.com.au/>
>> e: [email protected] <mailto:[email protected]>
>> p: +61 02 9960 6099
>> m: 0409 960 609
>> f: +61 02 9960 6088
>>
>>
>> To unsubscribe from this list, please send an email to 
>> [email protected] <mailto:[email protected]> with "unsubscribe 
>> terascript-talk" in the body.
>>
>> To unsubscribe from this list, please send an email to 
>> [email protected] <mailto:[email protected]> with "unsubscribe 
>> terascript-talk" in the body.
>
>
> Byteserve Pty Ltd
> w: http://www.byteserve.com.au/ <http://www.byteserve.com.au/>
> e: [email protected] <mailto:[email protected]>
> p: +61 02 9960 6099
> m: 0409 960 609
> f: +61 02 9960 6088
>
>
> To unsubscribe from this list, please send an email to 
> [email protected] <mailto:[email protected]> with "unsubscribe 
> terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> [email protected] <mailto:[email protected]> with "unsubscribe 
> terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> [email protected] <mailto:[email protected]> with "unsubscribe 
> terascript-talk" in the body.

Byteserve Pty Ltd
w: http://www.byteserve.com.au/
e: [email protected]
p: +61 02 9960 6099
m: 0409 960 609
f: +61 02 9960 6088




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to