]> git.openstreetmap.org Git - chef.git/commitdiff
Limit concurrency of planet dump
authorTom Hughes <tom@compton.nu>
Fri, 17 Jul 2020 16:17:07 +0000 (17:17 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 17 Jul 2020 16:17:07 +0000 (17:17 +0100)
cookbooks/planet/templates/default/planetdump.erb

index 15a0051910152841cb635e898e8e7294b5e4d111..22214b8ac321f0b764910948d150ef56129f848a 100644 (file)
@@ -67,6 +67,7 @@ rm -rf relations relation_tags relation_members
 
 # Run the dump
 time nice -n 19 /opt/planet-dump-ng/planet-dump-ng \
+     --max-concurrency=4 \
      -c "pbzip2 -c" -f "/store/backup/${file}" --dense-nodes=1 \
      -C "changesets-${date}.osm.bz2" \
      -D "discussions-${date}.osm.bz2" \