SRSMAXTO parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:SRSMAXTO parameter subtitle}}
==Summary==
==Summary==
<dl>
<dl>
Line 15: Line 16:
This parameter sets the maximum length of time (in seconds) that a saved record set
This parameter sets the maximum length of time (in seconds) that a saved record set
can be saved without being referenced. The actual maximum length of time a record set
can be saved without being referenced. The actual maximum length of time a record set
will be saved can be set in the $web_save_recset function, but it will be set to
will be saved can be set in the <var>[[$Web_Save_Recset]]</var> function, but it will be set to
SRSMAXTO if the $web_save_recset value exceeds SRSMAXTO. Similarly, if a
<var>SRSMAXTO</var> if the <var>$Web_Save_Recset<var> value exceeds <var>SRSMAXTO</var>.  
timeout is not specified on the $web_save_recset, the timeout value is derived from
[[SRSDEFTO]]  but if [[SRSDEFTO]] is greater than
SRSMAXTO, SRSMAXTO will be used as the timeout.


The default for SRSMAXTO of 3600 means a maximum timeout of one hour.
Similarly, if a timeout is not specified on the <var>$Web_Save_Recset</var>, the timeout value is derived from <var>[[SRSDEFTO parameter|SRSDEFTO]]</var>, but if <var>SRSDEFTO</var> is greater than
<var>SRSMAXTO</var>, <var>SRSMAXTO</var> will be used as the timeout.


Resetting SRSMAXTO to 0 temporarily disables the saved record set facility, and all
The default for <var>SRSMAXTO</var> of 3600 means a maximum timeout of one hour.
 
Resetting <var>SRSMAXTO</var> to 0 temporarily disables the saved record set facility, and all
enqueues associated with saved record sets are freed. This can be useful in clearing up
enqueues associated with saved record sets are freed. This can be useful in clearing up
an enqueuing problem caused by a saved record set.
an enqueuing problem caused by a saved record set.


Resetting SRSMAXTO will dynamically adjust the timeout for any record sets saved with
Resetting <var>SRSMAXTO</var> will dynamically adjust the timeout for any record sets saved with
a higher timeout value. So if there is a saved record set with a timeout of 1800 seconds
a higher timeout value. So if there is a saved record set with a timeout of 1800 seconds
when SRSMAXTO is reset to 300, that record set's timeout is updated to 300. If that
when <var>SRSMAXTO</var> is reset to 300, that record set's timeout is updated to 300. If that
record set had been saved more than 300 seconds before the reset, it would be
record set had been saved more than 300 seconds before the reset, it would be
immediately freed.
immediately freed.


The SRSMAXTO parameter has no effect unless [[SRSMAX]] is
The <var>SRSMAXTO</var> parameter has no effect unless <var>[[SRSMAX parameter|SRSMAX]]</var> is
set to a non-zero value.
set to a non-zero value.


Valid values for SRSMAXTO are between 0 and 2592000 (720 hours).
Valid values for <var>SRSMAXTO</var> are between 0 and 2592000 (720 hours).
 
[[Category:System parameters]]
[[Category:System parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Latest revision as of 21:52, 9 October 2014

Maximum saved record set timeout

Summary

Default value
3600
Parameter type
System
Where set
System manager resettable
Related products
Janus Web Server
Introduced
Before Sirius Mods 6.7

Description

This parameter sets the maximum length of time (in seconds) that a saved record set can be saved without being referenced. The actual maximum length of time a record set will be saved can be set in the $Web_Save_Recset function, but it will be set to SRSMAXTO if the $Web_Save_Recset value exceeds SRSMAXTO.

Similarly, if a timeout is not specified on the $Web_Save_Recset, the timeout value is derived from SRSDEFTO, but if SRSDEFTO is greater than SRSMAXTO, SRSMAXTO will be used as the timeout.

The default for SRSMAXTO of 3600 means a maximum timeout of one hour.

Resetting SRSMAXTO to 0 temporarily disables the saved record set facility, and all enqueues associated with saved record sets are freed. This can be useful in clearing up an enqueuing problem caused by a saved record set.

Resetting SRSMAXTO will dynamically adjust the timeout for any record sets saved with a higher timeout value. So if there is a saved record set with a timeout of 1800 seconds when SRSMAXTO is reset to 300, that record set's timeout is updated to 300. If that record set had been saved more than 300 seconds before the reset, it would be immediately freed.

The SRSMAXTO parameter has no effect unless SRSMAX is set to a non-zero value.

Valid values for SRSMAXTO are between 0 and 2592000 (720 hours).