]> git.openstreetmap.org Git - nominatim.git/blobdiff - munin/nominatim_importlag
Merge branch 'master' of http://github.com/twain47/Nominatim
[nominatim.git] / munin / nominatim_importlag
index 8d69f3cee7d3ded8472ca9dbc6ec2c0d7a002152..657938dbd2672a1fcfd95aab951f251f7c7f756b 100755 (executable)
@@ -21,7 +21,7 @@ if [ "$1" = "config" ]; then
 fi
  
 
-delay=`psql -d nominatim -c 'copy (select extract(epoch from now()-lastimportdate)::int from import_status) to stdout'`
+delay=`psql -d nominatim -c 'copy (select extract(epoch from timezone('utc', now())-lastimportdate)::int from import_status) to stdout'`
  
  
 echo "age.value $delay"