From 6340c70371bc539c8c8bda2437d17bec65fe7f6f Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Wed, 13 Sep 2023 14:22:30 +0100 Subject: [PATCH] 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 --- db.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db.go b/db.go index 0d35861d8..65ef209df 100644 --- a/db.go +++ b/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.