mirror of https://github.com/citusdata/citus.git
Allow configuring tcp_user_timeout using citus.node_conn_info (#5203)
`tcp_user_timeout` is the awesome relatively unknown big brother of the TCP keepalive related options. Instead of depending on keepalives being sent, this determines that a socket is dead by waiting at most N seconds for an ack of data that it has sent. It's exposed in libpq starting from PG12.pull/5204/head
parent
5af839ada0
commit
a31429aae5
|
@ -1896,6 +1896,7 @@ NodeConninfoGucCheckHook(char **newval, void **extra, GucSource source)
|
||||||
"sslcrl",
|
"sslcrl",
|
||||||
"sslmode",
|
"sslmode",
|
||||||
"sslrootcert"
|
"sslrootcert"
|
||||||
|
"tcp_user_timeout",
|
||||||
};
|
};
|
||||||
char *errorMsg = NULL;
|
char *errorMsg = NULL;
|
||||||
bool conninfoValid = CheckConninfo(*newval, allowedConninfoKeywords,
|
bool conninfoValid = CheckConninfo(*newval, allowedConninfoKeywords,
|
||||||
|
|
Loading…
Reference in New Issue