index 2ab7d804f032a60f1f23bdcdb1ad991aecd5b3a7..a9f3272849550ebe9854d20a9a72281e965f63a4 100644 (file)
@@ -12104,7 +12104,8 @@ WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
/*
* Wait for more WAL to arrive. Time out after 5 seconds
- * to react to a trigger file promptly.
+ * to react to a trigger file promptly and to check if the
+ * WAL receiver is still active.
*/
(void) WaitLatch(&XLogCtl->recoveryWakeupLatch,
WL_LATCH_SET | WL_TIMEOUT |