Skip to content

Commit a3e105f

Browse files
authored
chore: increase sequence limit to 1000 images (#699)
* chore: increase sequence limit to 1000 images * increase file size to 10GB
1 parent d095726 commit a3e105f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mapillary_tools/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343

4444
# WARNING: Changing the following envvars might result in failed uploads
4545
# Max number of images per sequence
46-
MAX_SEQUENCE_LENGTH = int(os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_LENGTH", 500))
46+
MAX_SEQUENCE_LENGTH = int(os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_LENGTH", 1000))
4747
# Max file size per sequence (sum of image filesizes in the sequence)
48-
MAX_SEQUENCE_FILESIZE: str = os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_FILESIZE", "2G")
48+
MAX_SEQUENCE_FILESIZE: str = os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_FILESIZE", "10G")
4949
# Max number of pixels per sequence (sum of image pixels in the sequence)
5050
MAX_SEQUENCE_PIXELS: str = os.getenv(_ENV_PREFIX + "MAX_SEQUENCE_PIXELS", "6G")

0 commit comments

Comments
 (0)