Skip to content

Commit 80e6754

Browse files
committed
Use pg_restore with -j4 parallel
1 parent c5bb51e commit 80e6754

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plans/restore.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@
161161
parallelize($database_targets) |$database_target| {
162162
run_command(@("CMD"/L), $primary_target)
163163
/opt/puppetlabs/server/bin/pg_restore \
164+
-j 4 \
164165
-d "sslmode=verify-ca \
165166
host=${shellquote($database_target.peadm::certname())} \
166167
sslcert=/etc/puppetlabs/puppetdb/ssl/${shellquote($primary_target.peadm::certname())}.cert.pem \

0 commit comments

Comments
 (0)