SRSMAXTO parameter: Difference between revisions
m (1 revision) |
(No difference)
|
Revision as of 19:25, 22 June 2012
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).