419419 <varlistentry >
420420 <term ><option >autosave_interval</option > <replaceable >seconds</replaceable ></term >
421421 <listitem >
422- <para >The number of seconds that mosquitto will wait
422+ <para >
423+ The number of seconds that mosquitto will wait
423424 between each time it saves the in-memory database to
424425 disk. If set to 0, the in-memory database will only be
425426 saved when mosquitto exits or when receiving the
426427 SIGUSR1 signal. Note that this setting only has an
427- effect if persistence is enabled. Defaults to 1800
428- seconds (30 minutes).</para >
428+ effect if the built-in persistence is enabled. Defaults
429+ to 1800 seconds (30 minutes).
430+ </para >
429431
430432 <para >This option applies globally.</para >
431433
445447 <option >autosave_interval</option > as a time in
446448 seconds.</para >
447449
450+ <para >Applies to built-in persistence only.</para >
448451 <para >This option applies globally.</para >
449452
450453 <para >Reloaded on reload signal.</para >
@@ -1003,18 +1006,25 @@ log_timestamp_format %Y-%m-%dT%H:%M:%S
10031006 <varlistentry >
10041007 <term ><option >persistence</option > [ true | false ]</term >
10051008 <listitem >
1006- <para >If <replaceable >true</replaceable >, connection,
1007- subscription and message data will be written to the
1008- disk in mosquitto.db at the location dictated by
1009- persistence_location. When mosquitto is restarted, it
1010- will reload the information stored in mosquitto.db. The
1011- data will be written to disk when mosquitto closes and
1012- also at periodic intervals as defined by
1013- autosave_interval. Writing of the persistence database
1014- may also be forced by sending mosquitto the SIGUSR1
1015- signal. If <replaceable >false</replaceable >, the data
1016- will be stored in memory only. Defaults to
1017- <replaceable >false</replaceable >.</para >
1009+ <para >
1010+ If <replaceable >true</replaceable >, then built-in persistence
1011+ is enabled. It is recommended that a plugin based persistence
1012+ is used instead.
1013+ </para >
1014+
1015+ <para >
1016+ If enabled, connection, subscription and message data
1017+ will be written to disk in mosquitto.db at the location
1018+ dictated by persistence_location. When mosquitto is
1019+ restarted, it will reload the information stored in
1020+ mosquitto.db. The data will be written to disk when
1021+ mosquitto closes and also at periodic intervals as
1022+ defined by autosave_interval. Writing of the persistence
1023+ database may also be forced by sending mosquitto the
1024+ SIGUSR1 signal. If <replaceable >false</replaceable >,
1025+ the data will be stored in memory only. Defaults to
1026+ <replaceable >false</replaceable >.
1027+ </para >
10181028 <para >The persistence file may change its format in a new
10191029 version. The broker can currently read all old formats,
10201030 but will only save in the latest format. It should always
@@ -1031,8 +1041,10 @@ log_timestamp_format %Y-%m-%dT%H:%M:%S
10311041 <varlistentry >
10321042 <term ><option >persistence_file</option > <replaceable >file name</replaceable ></term >
10331043 <listitem >
1034- <para >The filename to use for the persistent database.
1035- Defaults to mosquitto.db.</para >
1044+ <para >
1045+ The filename to use for the built-in persistent database.
1046+ Defaults to mosquitto.db.
1047+ </para >
10361048
10371049 <para >This option applies globally.</para >
10381050
@@ -1042,8 +1054,12 @@ log_timestamp_format %Y-%m-%dT%H:%M:%S
10421054 <varlistentry >
10431055 <term ><option >persistence_location</option > <replaceable >path</replaceable ></term >
10441056 <listitem >
1045- <para >The path where the persistence database should be
1046- stored. If not given, then the current directory is used.</para >
1057+ <para >
1058+ The path where plugins should store any persistence
1059+ data, and the path where the built-in persistence will
1060+ store its data. If not given, then the current directory
1061+ is used.
1062+ </para >
10471063
10481064 <para >This option applies globally.</para >
10491065
0 commit comments