diff --git a/swh/storage/buffer.py b/swh/storage/buffer.py --- a/swh/storage/buffer.py +++ b/swh/storage/buffer.py @@ -14,7 +14,13 @@ from swh.storage.interface import StorageInterface LObjectType = Literal[ - "content", "skipped_content", "directory", "revision", "release", "snapshot" + "content", + "skipped_content", + "directory", + "revision", + "release", + "snapshot", + "extid", ] OBJECT_TYPES: Tuple[LObjectType, ...] = ( "content", @@ -23,6 +29,7 @@ "revision", "release", "snapshot", + "extid", ) DEFAULT_BUFFER_THRESHOLDS: Dict[str, int] = { @@ -33,6 +40,7 @@ "revision": 100000, "release": 100000, "snapshot": 25000, + "extid": 10000, }