maintenance: only fetch polylines from journeys which were not edited
This commit is contained in:
parent
5392f654e2
commit
0457a53f65
1 changed files with 2 additions and 1 deletions
|
@ -148,7 +148,8 @@ sub run {
|
||||||
[ 'id', 'polyline_id' ],
|
[ 'id', 'polyline_id' ],
|
||||||
{
|
{
|
||||||
route => $journey->{route},
|
route => $journey->{route},
|
||||||
polyline_id => { '!=', undef }
|
polyline_id => { '!=', undef },
|
||||||
|
edited => 0,
|
||||||
},
|
},
|
||||||
{ limit => 1 }
|
{ limit => 1 }
|
||||||
)->hash;
|
)->hash;
|
||||||
|
|
Loading…
Reference in a new issue