Skip to content

Commit

Permalink
Extend Request/Response limit in sql-over-http to 32MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksrandall committed Sep 12, 2024
1 parent fcab61b commit 1f9c9b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/src/serverless/sql_over_http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ enum Payload {
Batch(BatchQueryData),
}

const MAX_RESPONSE_SIZE: usize = 10 * 1024 * 1024; // 10 MiB
const MAX_REQUEST_SIZE: u64 = 10 * 1024 * 1024; // 10 MiB
const MAX_RESPONSE_SIZE: usize = 32 * 1024 * 1024; // 32 MiB
const MAX_REQUEST_SIZE: u64 = 32 * 1024 * 1024; // 32 MiB

static CONN_STRING: HeaderName = HeaderName::from_static("neon-connection-string");
static RAW_TEXT_OUTPUT: HeaderName = HeaderName::from_static("neon-raw-text-output");
Expand Down

0 comments on commit 1f9c9b9

Please sign in to comment.