Increase http_api stream capacity (testing perf optimisation)
This commit is contained in:
parent
e97e26f97f
commit
b1b76edf10
1 changed files with 1 additions and 1 deletions
|
|
@ -416,7 +416,7 @@ impl HttpApi {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
let s = tokio_util::io::ReaderStream::new(stream);
|
let s = tokio_util::io::ReaderStream::with_capacity(stream, 65536);
|
||||||
Ok((status, (output_headers, axum::body::Body::from_stream(s))))
|
Ok((status, (output_headers, axum::body::Body::from_stream(s))))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue