From 0caa63bd97d580dcea96abe98cf82d993311c61f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 16 May 2017 08:52:02 +0100 Subject: [PATCH] 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. --- cookbooks/planet/templates/default/replication.cron.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5