Skip to content

Commit

Permalink
Merge pull request #71 from dongfeng3692/master
Browse files Browse the repository at this point in the history
Update request max size code annotation
  • Loading branch information
xixihahaliu authored Jan 30, 2024
2 parents 9d408b6 + 6f0df93 commit 4ba9be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qanything_kernel/qanything_server/sanic_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
raise ValueError('mode must be local or online')

app = Sanic("QAnything")
# 设置请求体最大为 10MB
# 设置请求体最大为 400MB
app.config.REQUEST_MAX_SIZE = 400 * 1024 * 1024


Expand Down

0 comments on commit 4ba9be2

Please sign in to comment.