Skip to content

Commit 2ca154c

Browse files
ysyneuclaude
andcommitted
fix: reduce upload batch size to avoid 413 Request Entity Too Large
Nginx rejects the full 500-doc batch payload. Lower to 20 docs per request to stay within the default body size limit. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 576117d commit 2ca154c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/upload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ SCRIPT_NAME=$(basename "$0")
2727
BASE_URL="${BASE_URL:-https://docs.flashcat.cloud}"
2828
FULL_UPLOAD="${FULL_UPLOAD:-false}"
2929
DRY_RUN=false
30-
BATCH_SIZE=500
30+
BATCH_SIZE=20
3131

3232
usage() {
3333
cat <<EOF

0 commit comments

Comments
 (0)