瀏覽代碼

fix: align limitation with env (#1819)

### What problem does this PR solve?

try to process the large file will throw a File size exceeds error

### Type of change

- [x] Refactoring

Co-authored-by: Theta Wang (ncu) <chunshan.connect@gmail.com>
tags/v0.10.0
Wang 1 年之前
父節點
當前提交
66e4113e0b
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      rag/settings.py

+ 1
- 1
rag/settings.py 查看文件

@@ -30,7 +30,7 @@ try:
except Exception as e:
REDIS = {}
pass
DOC_MAXIMUM_SIZE = 128 * 1024 * 1024
DOC_MAXIMUM_SIZE = int(os.environ.get("MAX_CONTENT_LENGTH", 128 * 1024 * 1024))
# Logger
LoggerFactory.set_directory(

Loading…
取消
儲存