Backend: Expose connections parameter

This commit is contained in:
Michael Eischer committed 2022-04-23 11:13:08 +02:00
1 parent 07a565e6f7
commit 4f97492d28
10 files changed
+83 -31

No files matched your search

+4
View File
@@ -133,6 +133,10 @@ func (be *b2Backend) SetListMaxItems(i int) {
be.listMaxItems = i
}
func (be *b2Backend) Connections() uint {
return be.cfg.Connections
}
// Location returns the location for the backend.
func (be *b2Backend) Location() string {
return be.cfg.Bucket