Skip to content

Commit 2a221e8

Browse files
committed
Default reconnect-interval -> 1 hour
Signed-off-by: Mark Hannum <[email protected]>
1 parent 1261b35 commit 2a221e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

db/phys_rep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ typedef struct DB_Connection {
5555
} while (0)
5656

5757
int gbl_physrep_debug = 0;
58-
int gbl_physrep_reconnect_interval = 600; // force re-registration every 10 mins
58+
int gbl_physrep_reconnect_interval = 3600; // force re-registration every hour
5959
int gbl_physrep_reconnect_penalty = 0;
6060
int gbl_blocking_physrep = 0;
6161
int gbl_physrep_fanout = 8;

tests/tunables.test/t00_all_tunables.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@
740740
(name='physrep_metadb_host', description='List of physical replication metadb cluster hosts.', type='STRING', value=NULL, read_only='Y')
741741
(name='physrep_metadb_name', description='Physical replication metadb cluster name.', type='STRING', value=NULL, read_only='Y')
742742
(name='physrep_pollms', description='Physical replicant poll interval in milliseconds. (Default: 200)', type='INTEGER', value='200', read_only='N')
743-
(name='physrep_reconnect_interval', description='Reconnect interval for physical replicants (Default: 600)', type='INTEGER', value='600', read_only='N')
743+
(name='physrep_reconnect_interval', description='Reconnect interval for physical replicants (Default: 600)', type='INTEGER', value='3600', read_only='N')
744744
(name='physrep_reconnect_penalty', description='Physrep wait seconds before retry to the same node. (Default: 5)', type='INTEGER', value='0', read_only='N')
745745
(name='physrep_repl_host', description='Current physrep host.', type='STRING', value=NULL, read_only='Y')
746746
(name='physrep_repl_name', description='Current physrep parent.', type='STRING', value=NULL, read_only='Y')

0 commit comments

Comments
 (0)