mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-12-05 11:00:22 +02:00
PGPRO-2180: Reasonable time
This commit is contained in:
parent
bdf2539887
commit
7532cb36d1
@ -1612,7 +1612,8 @@ wait_wal_lsn(XLogRecPtr lsn, bool is_start_lsn, bool wait_prev_segment)
|
|||||||
* to get LSN of last valid record prior to the target LSN. But only
|
* to get LSN of last valid record prior to the target LSN. But only
|
||||||
* in case of a backup from a replica.
|
* in case of a backup from a replica.
|
||||||
*/
|
*/
|
||||||
if (!exclusive_backup && current.from_replica)
|
if (!exclusive_backup && current.from_replica &&
|
||||||
|
(try_count > timeout / 4))
|
||||||
{
|
{
|
||||||
XLogRecPtr res;
|
XLogRecPtr res;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user