Skip to content

Commit 794da10

Browse files
committed
reset default_max_pending_rows = 256
1 parent 92c582e commit 794da10

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/app_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ fn default_https_acme_directory_url() -> String {
471471
}
472472

473473
fn default_max_pending_rows() -> usize {
474-
1
474+
256
475475
}
476476

477477
fn default_compress_responses() -> bool {

src/webserver/http.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ impl tokio::io::AsyncWrite for AsyncResponseWriter {
163163
self.poll_flush(cx)
164164
}
165165
}
166+
166167
impl Drop for ResponseWriter {
167168
fn drop(&mut self) {
168169
if let Err(e) = std::io::Write::flush(self) {

0 commit comments

Comments
 (0)