moby/libnetwork/datastore
Albin Kerouanton 4d7c11c208 libnet: boltdb: remove PersistConnection
This parameter was used to tell the boltdb kvstore not to open/close
the underlying boltdb db file before/after each get/put operation.

Since d21d0884ae, we've a single datastore instance shared by all
components that need it. That commit set `PersistConnection=true`.
We can now safely remove this param altogether, and remove all the
code that was opening and closing the db file before and after each
operation -- it's dead code!

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2024-02-02 09:19:07 +01:00
..
cache.go libnetwork/datastore: un-embed mutex from cache 2023-10-19 12:37:12 -04:00
datastore.go libnet: boltdb: remove PersistConnection 2024-02-02 09:19:07 +01:00
datastore_test.go libnet/ds: remove unused param key from GetObject 2024-01-24 22:42:18 +01:00
mockstore_test.go libnetwork/internal/kvstore: prune unused method 2023-10-19 12:57:42 -04:00