Skip to content

Commit

Permalink
fix: add default value for options annotation (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfyiamcool authored Jan 5, 2025
1 parent 0c09a25 commit f07a773
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f07a773

Please sign in to comment.