mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-31 11:42:30 +00:00
Merge pull request #565 from ncruces/patch-1
Documentation: remove note that Options.Timeout is Linux/macOS only
This commit is contained in:
commit
c46cb7c114
3
db.go
3
db.go
@ -1208,8 +1208,7 @@ func (db *DB) freepages() []common.Pgid {
|
|||||||
// Options represents the options that can be set when opening a database.
|
// Options represents the options that can be set when opening a database.
|
||||||
type Options struct {
|
type Options struct {
|
||||||
// Timeout is the amount of time to wait to obtain a file lock.
|
// 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
|
// When set to zero it will wait indefinitely.
|
||||||
// available on Darwin and Linux.
|
|
||||||
Timeout time.Duration
|
Timeout time.Duration
|
||||||
|
|
||||||
// Sets the DB.NoGrowSync flag before memory mapping the file.
|
// Sets the DB.NoGrowSync flag before memory mapping the file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user