Skip to content

Commit b6db0ef

Browse files
committed
MAX_FILE_SIZE is the exclusive upper bound
1 parent c604e81 commit b6db0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/sentry/models/files/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
HALF_DAY = timedelta(hours=12)
2323

2424
DEFAULT_BLOB_SIZE = 1024 * 1024 # one mb
25-
MAX_FILE_SIZE = 2**32 - 1 # 4GB is the maximum size/offset supported by `File/Blob/Index`
25+
MAX_FILE_SIZE = 2**32 # 4GB is the maximum size/offset supported by `File/Blob/Index`
2626

2727

2828
class nooplogger:

0 commit comments

Comments
 (0)