Skip to content

Commit 5dc4b32

Browse files
Increase the waitOnRecoveryTimeout to 60 minutes for larger databases or when machines with shared CPUs are used. (#298)
1 parent a8f268d commit 5dc4b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/flypg/barman_restore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type BarmanRestore struct {
2828

2929
const (
3030
defaultRestoreDir = "/data/postgresql"
31-
waitOnRecoveryTimeout = 10 * time.Minute
31+
waitOnRecoveryTimeout = 60 * time.Minute
3232
)
3333

3434
func NewBarmanRestore(configURL string) (*BarmanRestore, error) {

0 commit comments

Comments
 (0)