forked from hans/Nominatim
use osmosis --read-replication-lag to determine if there are changes before trying to process updates, useful when we are tracking hourly or daily replication updates set CONST_Replication_Recheck_Interval to 60 skip lag check if CONST_Replication_Update_Interval > 60, for minutelies there's always new diffs to process use tabs for indent change sleep for non-minutely updates so that we dont drift tto much or poll excessively unset $aReplicationLag before each exec attempt unset $aReplicationLag inside while loop