diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-12-03 00:14:09 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-12-03 00:14:22 -0800 |
commit | 02f16e90b6ad150a26c95d2efd7418b7cf83ec5c (patch) | |
tree | f57883fa734386a5d84dde538d0445f33156b1e9 /history.h | |
parent | 984a4980635c637057ada3efc9a213c0a1d037a9 (diff) |
Turn on incremental history saving (cross your fingers)
Diffstat (limited to 'history.h')
-rw-r--r-- | history.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -136,9 +136,10 @@ private: /** Timestamp of when this history was created */ const time_t birth_timestamp; - /** Timestamp of last save */ - time_t save_timestamp; + /** How many items we add until the next vacuum. Initially a random value. */ + int countdown_to_vacuum; + /** Figure out the offsets of our mmap data */ void populate_from_mmap(void); /** List of old items, as offsets into out mmap data */ |