places-setup: fix duplicate prints

pull/395/head
Varun Patil 2023-02-06 08:01:47 -08:00
parent 1be68551e5
commit 5dffccbc91
1 changed files with 10 additions and 10 deletions

View File

@ -235,6 +235,7 @@ class PlacesSetup extends Command
continue;
}
}
// Print progress
if (0 === $count % 500) {
@ -247,7 +248,6 @@ class PlacesSetup extends Command
$this->output->writeln("Inserted {$count} places, {$rate}/s, ETA: {$eta}s, Last: {$name}");
}
}
}
fclose($handle);
}