Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a33662d

Browse files
committed
set latch timeout in pglogical_receiver in order to force restart on recovery_count increment
1 parent d27020e commit a33662d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pglogical_receiver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ pglogical_receiver_main(Datum main_arg)
695695
/* Wait necessary amount of time */
696696
rc = WaitLatch(&MyProc->procLatch,
697697
WL_LATCH_SET | WL_TIMEOUT | WL_POSTMASTER_DEATH,
698-
receiver_idle_time * 1L,
698+
100.0,
699699
PG_WAIT_EXTENSION);
700700
ResetLatch(&MyProc->procLatch);
701701
/* Process signals */

0 commit comments

Comments
 (0)