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

Related to #4670

@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 6 times, most recently from 7532142 to b8ec90a Compare April 27, 2026 22:26
@mkleczek mkleczek force-pushed the listener-keepalives branch from b8ec90a to 08410cf Compare April 29, 2026 10:01
This commit introduces toxiproxy in withTools adding the following helpers:
* withToxiproxyServer
* withToxiproxyProxy
* withToxiproxyPgProxy
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 08410cf to 9af2949 Compare April 29, 2026 14:22
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