-
Notifications
You must be signed in to change notification settings - Fork 7
Autosave (autosave.c)
larrykollar edited this page Dec 28, 2015
·
1 revision
- tree_changed [increment]
An internal command, used to drive the autosave functionality. For large changes, pass a high number (around 1000) to make sure the changes are saved immediately. Otherwise, omit the increment. - autosave_check_timeout
Checks the timeout counter and autosaves if necessary. - autosave_timeout (integer)
The number of ticks before autosaving after change. - autosave_sync (integer)
A flag that determines whether the filesystem should be synced after autosave. - autosave_timer (integer)
The number of ticks since an unsaved change. - autosave_threshold (integer)
Autosave for every autosave_threshold nodes changed. - autosave_threshold_nodes_changed (integer)
The number of nodes changed since the last save.