From: Matt Joiner Date: Fri, 19 Feb 2021 01:37:26 +0000 (+1100) Subject: Code comment X-Git-Tag: v1.26.0-alpha~16 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=86a2b71c472e9d2dd5a38ffcb08dcba02be0fc9f;p=btrtrc.git Code comment --- diff --git a/storage/sqlite/sqlite-storage.go b/storage/sqlite/sqlite-storage.go index 97f7181a..1eb4b0fe 100644 --- a/storage/sqlite/sqlite-storage.go +++ b/storage/sqlite/sqlite-storage.go @@ -187,6 +187,9 @@ func NewPiecesStorage(opts NewPiecesStorageOpts) (_ storage.ClientImplCloser, er } type NewPoolOpts struct { + // See https://www.sqlite.org/c3ref/open.html. NB: "If the filename is an empty string, then a + // private, temporary on-disk database will be created. This private database will be + // automatically deleted as soon as the database connection is closed." Path string Memory bool NumConns int