|
@@ -1203,7 +1203,7 @@ class LoggedIO:
|
|
|
return self.segment - 1 # close_segment() increments it
|
|
|
|
|
|
|
|
|
-# MAX_OBJECT_SIZE = 20 MiB (MAX_DATA_SIZE) + 41 bytes for a Repository PUT header, which consists of
|
|
|
+# MAX_OBJECT_SIZE = <20 MiB (MAX_DATA_SIZE) + 41 bytes for a Repository PUT header, which consists of
|
|
|
# a 1 byte tag ID, 4 byte CRC, 4 byte size and 32 bytes for the ID.
|
|
|
MAX_OBJECT_SIZE = MAX_DATA_SIZE + LoggedIO.put_header_fmt.size
|
|
|
-assert MAX_OBJECT_SIZE == 20971561
|
|
|
+assert MAX_OBJECT_SIZE == 20971520 == 20 * 1024 * 1024
|