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

+3
View File
@@ -18,6 +18,9 @@ type Backend interface {
// repository.
Location() string
// Connections returns the maxmimum number of concurrent backend operations.
Connections() uint
// Hasher may return a hash function for calculating a content hash for the backend
Hasher() hash.Hash