X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5c43821ebe5de5892dcc4aa482d02c72e86bf637..717f9b07af279e6ce622924d45f0904b7b8bda41:/munin/nominatim_importlag diff --git a/munin/nominatim_importlag b/munin/nominatim_importlag index 8d69f3ce..a118e0b6 100755 --- a/munin/nominatim_importlag +++ b/munin/nominatim_importlag @@ -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"