mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 20:49:04 +08:00
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>
This commit is contained in:
parent
0dba1743e3
commit
66e4113e0b
@ -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…
x
Reference in New Issue
Block a user