Add configuration option to run the GC on exit
If "auto_gc" is enabled, the garbage collector for note files will be run on every exit. As this is an experimental feature and may cause data loss, this is disabled by default. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -623,6 +623,9 @@ These options control `calcurse` general behavior, as described below:
|
||||
will be automatically saved if `auto_save` is set to *no*. This means the
|
||||
user must press `S` (for saving) in order to retrieve its modifications.
|
||||
|
||||
`auto_gc` (default: *no*)::
|
||||
Automatically run the garbage collector for note files when quitting.
|
||||
|
||||
`periodic_save` (default: *0*)::
|
||||
If different from `0`, user's data will be automatically saved every
|
||||
*periodic_save* minutes. When an automatic save is performed, two asterisks
|
||||
|
||||
Reference in New Issue
Block a user