mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Automatically terminate replication connections that are idle for more
than replication_timeout (a new GUC) milliseconds. The TCP timeout is often too long, you want the master to notice a dead connection much sooner. People complained about that in 9.0 too, but with synchronous replication it's even more important to notice dead connections promptly. Fujii Masao and Heikki Linnakangas
This commit is contained in:
@@ -98,6 +98,7 @@ extern volatile sig_atomic_t walsender_ready_to_stop;
|
||||
/* user-settable parameters */
|
||||
extern int WalSndDelay;
|
||||
extern int max_wal_senders;
|
||||
extern int replication_timeout;
|
||||
|
||||
extern int WalSenderMain(void);
|
||||
extern void WalSndSignals(void);
|
||||
|
Reference in New Issue
Block a user