Toggle navigation
Type: integer
Default: 60000
Min: 0
Max: 2147483647
Unit: milliseconds (ms)
Context: sighup
Restart: false
Since: 9.3

Terminate replication connections that are inactive for longer than this amount of time. This is useful for the receiving standby server to detect a primary node crash or network outage. If this value is specified without units, it is taken as milliseconds. The default value is 60 seconds. A value of zero disables the timeout mechanism. This parameter can only be set in the postgresql.conf file or on the server command line.