chore: increase Telegram chunk size to 48MB (max ~49MB)
Deploy FileDrop / deploy (push) Successful in 44s
Deploy FileDrop / deploy (push) Successful in 44s
Tested actual Telegram Bot API limit: - 49MB ✅ - 50MB ❌ (413 Request Entity Too Large) Set TELEGRAM_CHUNK_SIZE_BYTES=50331648 (48MB) for safety Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -17,7 +17,8 @@ RATE_LIMIT_MAX_REQUESTS=30
|
||||
# S3_VHOST_DOMAINS=upload.asepharyana.my.id,upload.asepharyana.web.id
|
||||
|
||||
# Telegram-safe internal chunking for large stored files
|
||||
# TELEGRAM_CHUNK_SIZE_BYTES=20971520
|
||||
# Telegram max upload ~49MB, using 48MB for safety
|
||||
# TELEGRAM_CHUNK_SIZE_BYTES=50331648
|
||||
# COMPRESS_CHUNKED_UPLOADS=true
|
||||
# CHUNK_COMPRESSION_MIN_SIZE_BYTES=4096
|
||||
|
||||
|
||||
Reference in New Issue
Block a user