Make buffer and validate proxy storage also handle other object types
Compare changes
Files
4
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
+ 52
− 4
@@ -5,7 +5,7 @@
@@ -14,6 +14,10 @@ from swh.model.model import (
@@ -25,7 +29,6 @@ from swh.storage.interface import StorageInterface
@@ -33,11 +36,15 @@ LObjectType = Literal[
@@ -45,6 +52,11 @@ OBJECT_TYPES: Tuple[LObjectType, ...] = (
@@ -53,6 +65,11 @@ DEFAULT_BUFFER_THRESHOLDS: Dict[str, int] = {
@@ -60,7 +77,6 @@ DEFAULT_BUFFER_THRESHOLDS: Dict[str, int] = {
@@ -212,6 +228,38 @@ class BufferingProxyStorage: