places-setup: reduce transactioon size to 100 (fix #535)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>pull/563/head
parent
07da344807
commit
0a37263dda
|
@ -273,7 +273,7 @@ class PlacesSetup extends Command
|
||||||
}
|
}
|
||||||
|
|
||||||
// Commit transaction every once in a while
|
// Commit transaction every once in a while
|
||||||
if (0 === $count % 500) {
|
if (0 === $count % 100) {
|
||||||
$this->connection->commit();
|
$this->connection->commit();
|
||||||
$txnCount = 0;
|
$txnCount = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue