geocode inc err

This commit is contained in:
pringgosutono
2026-04-18 14:53:49 +07:00
parent c9569b6f93
commit 23f21700e2
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ const go = async () => {
const urlBase = request.osm_reverse_geo.urlFull
// let tracks = [];
let tracks = await GpsTracksModels.get2ForReverseGeo(10)
let tracks = await GpsTracksModels.get2ForReverseGeo(20)
function processTrack(track, i) {
return (async () => {

View File

@ -259,12 +259,12 @@ class GpsTracksModels {
WHERE
latitude is not null
AND longitude is not null
AND stts_reverse_geo = ?
AND stts_reverse_geo in (2,3)
and action = 'location'
ORDER BY id ASC
LIMIT ?
`
params.push(GpsTracksModels.STTS_REVERSE_GEO_NOT, limit)
params.push(limit)
db.query(query, params, function (err, resp) {
if (err) {
reject(err)