change to only touching tiles instead of directly triggering a rerender - the actual...
authorUser for running Openstreetmap-things <osm@osm.rrze.uni-erlangen.de>
Mon, 6 Jun 2016 10:23:12 +0000 (12:23 +0200)
committerUser for running Openstreetmap-things <osm@osm.rrze.uni-erlangen.de>
Mon, 6 Jun 2016 10:23:12 +0000 (12:23 +0200)
scripts/doosmupdate.sh

index 3ebe00b355c132e22f62e91aa14b527714591c13..e7a447f2db9cc72bc39df952dee5073aa2201ef9 100755 (executable)
@@ -76,15 +76,15 @@ if [ -e $EXPIRYFILE ] ; then
                echo "Expiryfile and triggerfile  exists. Telling tirex to rerender the tiles mentioned there..."
                echo "Number of lines: `wc -l $EXPIRYFILE`"
                # Used to be zoom 13-20 but that causes too much load. Reduced to 15-20.
-               # Trying completely without. Lots of load, way too many false positives. -unrz191 2015-09-04
-               cat $EXPIRYFILE | /home.local/osm/bin/osmtilecleanup.pl \
-                                   --action rerenderexpiredlist --zoom 15-20 \
-                                   --rrs /home.local/osm/bin/osmrerenderwrapper.sh \
+               cat $EXPIRYFILE | sudo -u tirex /home.local/osm/bin/osmtilecleanup.pl \
+                                   --action touchexpiredlist --zoom 15-20 \
                                    /var/lib/tirex/tiles/osm
-               cat $EXPIRYFILE | /home.local/osm/bin/osmtilecleanup.pl \
-                                   --action rerenderexpiredlist --zoom 15-20 \
-                                   --rrs /home.local/osm/bin/osmrerenderwrapper-osmde.sh \
+               cat $EXPIRYFILE | sudo -u tirex /home.local/osm/bin/osmtilecleanup.pl \
+                                   --action touchexpiredlist --zoom 15-20 \
                                    /var/lib/tirex/tiles/osmde
+               cat $EXPIRYFILE | sudo -u tirex /home.local/osm/bin/osmtilecleanup.pl \
+                                   --action touchexpiredlist --zoom 15-20 \
+                                   /var/lib/tirex/tiles/osmhd
        else
                echo "Expiryfile exists but rerendering is disabled."
        fi
This page took 0.076607 seconds and 4 git commands to generate.