Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit62953a7

Browse files
author
Artur Zakirov
committed
Default --archive-timeout is 300 seconds
1 parentf3bdedc commit62953a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎backup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
staticintserver_version=0;
3232

3333
/* Wait timeout for WAL segment archiving */
34-
uint32archive_timeout=0;
34+
uint32archive_timeout=300;
3535

3636
staticboolin_backup= false;/* TODO: more robust logic */
3737
staticintstandby_message_timeout=10*1000;/* 10 sec = default */

‎doc/pg_probackup.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ Makes an autonomous backup that includes all necessary WAL files, by streaming t
412412

413413
--archive-timeout
414414

415-
Wait timeout for WAL segment archiving.`pg_probackup` waits after`pg_start_backup()` and`pg_stop_backup()` executing when WAL segments with necessary LSN will be archived. For backup from master WAL segment will be archived fast, because master instance switch WAL segment during backup. For backup from standby`pg_probackup` will wait a long time, because standby instance cannot switch WAL segment. By default timeout isinfinite.
415+
Wait timeout for WAL segment archiving.`pg_probackup` waits after`pg_start_backup()` and`pg_stop_backup()` executing when WAL segments with necessary LSN will be archived. For backup from master WAL segment will be archived fast, because master instance switch WAL segment during backup. For backup from standby`pg_probackup` will wait a long time, because standby instance cannot switch WAL segment. By default timeout is300 seconds.
416416

417417
-S_slot\_name_
418418
--slot=_slot\_name_

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp