mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Raise max request size in ORT server (#1119)
This commit is contained in:
parent
1ea3e8633c
commit
e19bc2d074
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ void HttpSession::DoRead() {
|
|||
req_.emplace();
|
||||
|
||||
// TODO: make the max request size configable.
|
||||
req_->body_limit(10 * 1024 * 1024); // Max request size: 10 MiB
|
||||
req_->body_limit(25 * 1024 * 1024); // Max request size: 25 MiB
|
||||
|
||||
http::async_read(socket_, buffer_, *req_,
|
||||
net::bind_executor(
|
||||
|
|
|
|||
Loading…
Reference in a new issue