Skip to content

Commit f07a773

Browse files
authored
fix: add default value for options annotation (#60)
1 parent 0c09a25 commit f07a773

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

options.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ type Options struct {
1313
//
1414
// Setting the value to 0 disables the automatic background synchronization.
1515
// Setting the value to -1 makes the DB call Sync() after every write operation.
16+
// Default: 0
1617
BackgroundSyncInterval time.Duration
1718

1819
// BackgroundCompactionInterval sets the amount of time between background Compact() calls.
1920
//
2021
// Setting the value to 0 disables the automatic background compaction.
22+
// Default: 0
2123
BackgroundCompactionInterval time.Duration
2224

2325
// FileSystem sets the file system implementation.

0 commit comments

Comments
 (0)