summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-10-14 07:56:02 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-10-14 07:56:02 +0200
commit0db48c7291067ff3dd6b0f38664cc6867e0e87e5 (patch)
tree8e52e60103ccaf1c2664e3841c575b199ae06129 /doc/en/autogen/user
parentd427fc05491af5c34d14cdf4ce632a55dc99d3f4 (diff)
downloadweechat-0db48c7291067ff3dd6b0f38664cc6867e0e87e5.zip
core: add option weechat.look.save_config_with_fsync (closes #1083)
This makes the save of all configuration files about 20 to 200x slower (according to the storage device speed); so this is disabled by default.
Diffstat (limited to 'doc/en/autogen/user')
-rw-r--r--doc/en/autogen/user/weechat_options.adoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/en/autogen/user/weechat_options.adoc b/doc/en/autogen/user/weechat_options.adoc
index a87737fc4..1cebe569c 100644
--- a/doc/en/autogen/user/weechat_options.adoc
+++ b/doc/en/autogen/user/weechat_options.adoc
@@ -1094,6 +1094,12 @@
** values: on, off
** default value: `+on+`
+* [[option_weechat.look.save_config_with_fsync]] *weechat.look.save_config_with_fsync*
+** description: pass:none[use fsync to synchronize the configuration file with the storage device (see man fsync); this is slower but should prevent any data loss in case of power failure during the save of configuration file]
+** type: boolean
+** values: on, off
+** default value: `+off+`
+
* [[option_weechat.look.save_layout_on_exit]] *weechat.look.save_layout_on_exit*
** description: pass:none[save layout on exit (buffers, windows, or both)]
** type: integer