diff --git a/options.go b/options.go index 3cb8048..dc37332 100644 --- a/options.go +++ b/options.go @@ -13,11 +13,13 @@ type Options struct { // // Setting the value to 0 disables the automatic background synchronization. // Setting the value to -1 makes the DB call Sync() after every write operation. + // Default: 0 BackgroundSyncInterval time.Duration // BackgroundCompactionInterval sets the amount of time between background Compact() calls. // // Setting the value to 0 disables the automatic background compaction. + // Default: 0 BackgroundCompactionInterval time.Duration // FileSystem sets the file system implementation.