add: set keepalives options in listener connection string by mkleczek · Pull Request #4673 · PostgREST/postgrest · GitHub
Skip to content

add: set keepalives options in listener connection string#4673

Draft
mkleczek wants to merge 3 commits intoPostgREST:mainfrom
mkleczek:listener-keepalives
Draft

add: set keepalives options in listener connection string#4673
mkleczek wants to merge 3 commits intoPostgREST:mainfrom
mkleczek:listener-keepalives

Conversation

@mkleczek
Copy link
Copy Markdown
Collaborator

@mkleczek mkleczek commented Feb 26, 2026

DISCLAIMER:
This commit was authored entirely by a human without the assistance of LLMs.

This change adds keepalive options to listener connections string. The value of keepalives_idle is adjusted using a simple algorithm based on idle time tracking.

Keeping it as draft until it is clear how to test it.

@steve-chavez
Copy link
Copy Markdown
Member

@mkleczek mkleczek force-pushed the listener-keepalives branch 3 times, most recently from 0218c65 to 7ddf69d Compare March 4, 2026 14:03
@mkleczek mkleczek force-pushed the listener-keepalives branch 8 times, most recently from 6073f0b to 0daf2b5 Compare March 13, 2026 21:00
@mkleczek mkleczek force-pushed the listener-keepalives branch 2 times, most recently from 4a54e32 to b0a6a73 Compare April 21, 2026 11:37
This commit introduces toxiproxy in withTools adding the following helpers:
* withToxiproxyServer
* withToxiproxyProxy
* withToxiproxyPgProxy
@mkleczek mkleczek force-pushed the listener-keepalives branch from b0a6a73 to 429dd74 Compare April 21, 2026 12:21
This change adds keepalive options to listener connections string. The value of keepalives_idle is adjusted using a simple algorithm based on idle time tracking.
@mkleczek mkleczek force-pushed the listener-keepalives branch from 429dd74 to 307c056 Compare April 21, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants