Skip to content

Commit

Permalink
Merge pull request #565 from ncruces/patch-1
Browse files Browse the repository at this point in the history
Documentation: remove note that Options.Timeout is Linux/macOS only
  • Loading branch information
ahrtr authored Sep 18, 2023
2 parents e682325 + 6340c70 commit c46cb7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions db.go
Original file line number Diff line number Diff line change
Expand Up @@ -1208,8 +1208,7 @@ func (db *DB) freepages() []common.Pgid {
// Options represents the options that can be set when opening a database.
type Options struct {
// Timeout is the amount of time to wait to obtain a file lock.
// When set to zero it will wait indefinitely. This option is only
// available on Darwin and Linux.
// When set to zero it will wait indefinitely.
Timeout time.Duration

// Sets the DB.NoGrowSync flag before memory mapping the file.
Expand Down

0 comments on commit c46cb7c

Please sign in to comment.