mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-31 11:42:30 +00:00
Documentation: remove note that Options.Timeout is Linux/macOS only
This seems to work on all platforms. E.g. on Windows it seems to work since 1cb787ee7bfebef44baf98158967a37735e65790. Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
This commit is contained in:
parent
ead6b854aa
commit
6340c70371
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.
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user