InspIRCd v4 is still early in development!
If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.
You probably want to use InspIRCd v3 instead.
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 | 0s | 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">