SRSMAXTO parameter

From m204wiki
Revision as of 21:52, 9 October 2014 by JAL (talk | contribs) (→‎Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Maximum saved record set timeout


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


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).