The "xline_db" Module (v4)
Description
This module allows X-lines to be saved and reloaded on restart.
Configuration
To load this module use the following <module>
tag:
<module name="xline_db">
<xlinedb>
The <xlinedb>
tag defines settings about how the xline_db module should behave. This tag can only be defined once.
Name | Type | Default Value | Description |
---|---|---|---|
filename | Text | xline.db | The location to read/write the X-line database from. |
saveperiod | Duration | 5s | The time period between attempts to check whether the X-line database needs to be written. |
backoff | Number | 0s | The value to multiply the saveperiod by every time a save fails. When the save succeeds the period will be reset. |
maxbackoff | Duration | 120 * <xlinedb:backoff> | The maximum write period that should be allowed even if incremental backoff is enabled. |
Example Usage
<xlinedb filename="xline.db"
saveperiod="5s"
backoff="2"
maxbackoff="5m">