Skip to content

Commit

Permalink
Disable neon-pool-opt-in (#4995)
Browse files Browse the repository at this point in the history
  • Loading branch information
petuhovskiy authored Aug 15, 2023
1 parent 5c836ee commit 1b97a30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions proxy/src/http/sql_over_http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const MAX_REQUEST_SIZE: u64 = 1024 * 1024; // 1 MB

static RAW_TEXT_OUTPUT: HeaderName = HeaderName::from_static("neon-raw-text-output");
static ARRAY_MODE: HeaderName = HeaderName::from_static("neon-array-mode");
static ALLOW_POOL: HeaderName = HeaderName::from_static("neon-pool-opt-in");
static TXN_ISOLATION_LEVEL: HeaderName = HeaderName::from_static("neon-batch-isolation-level");
static TXN_READ_ONLY: HeaderName = HeaderName::from_static("neon-batch-read-only");
static TXN_DEFERRABLE: HeaderName = HeaderName::from_static("neon-batch-deferrable");
Expand Down Expand Up @@ -194,7 +193,7 @@ pub async fn handle(
let array_mode = headers.get(&ARRAY_MODE) == Some(&HEADER_VALUE_TRUE);

// Allow connection pooling only if explicitly requested
let allow_pool = headers.get(&ALLOW_POOL) == Some(&HEADER_VALUE_TRUE);
let allow_pool = false;

// isolation level, read only and deferrable

Expand Down

1 comment on commit 1b97a30

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1656 tests run: 1574 passed, 0 failed, 82 skipped (full report)


The comment gets automatically updated with the latest test results
1b97a30 at 2023-08-15T18:31:55.870Z :recycle:

Please sign in to comment.