Skip to content
Snippets Groups Projects
Unverified Commit e2b756f0 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

integritycheck: process journeys row by row rather than at once

parent 37cb85e6
No related branches found
No related tags found
No related merge requests found
......@@ -56,8 +56,9 @@ sub run {
my %notified;
my $rename = $self->app->renamed_station;
$res = $self->app->pg->db->select( 'journeys', [ 'route', 'edited' ] );
for my $j ( $res->expand->hashes->each ) {
$res
= $self->app->pg->db->select( 'journeys', [ 'route', 'edited' ] )->expand;
while ( my $j = $res->hash ) {
if ( $j->{edited} & 0x0010 ) {
next;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment