From: Tom Hughes Date: Tue, 16 May 2017 07:52:02 +0000 (+0100) Subject: Try diff merging several times at five minute intervals X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/0caa63bd97d580dcea96abe98cf82d993311c61f Try diff merging several times at five minute intervals This way if the underlying diffs are ready yet we will have another go later, and extra ones are harmless as they do nothing. --- diff --git a/cookbooks/planet/templates/default/replication.cron.erb b/cookbooks/planet/templates/default/replication.cron.erb index 8b81f03e0..5300781be 100644 --- a/cookbooks/planet/templates/default/replication.cron.erb +++ b/cookbooks/planet/templates/default/replication.cron.erb @@ -11,5 +11,5 @@ MAILTO=brett@bretth.com LD_PRELOAD=/opt/flush/flush.so * * * * * planet /usr/local/bin/osmosis -q --replicate-apidb authFile=/etc/replication/auth.conf validateSchemaVersion=false --write-replication workingDirectory=/store/planet/replication/minute -5 * * * * planet /home/bretth/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/hour -10 * * * * planet /home/bretth/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/day +2,7,12,17 * * * * planet /home/bretth/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/hour +5,10,15,20 * * * * planet /home/bretth/bin/osmosis -q --merge-replication-files workingDirectory=/var/lib/replication/day