places-setup: reduce transactioon size to 100 (fix #535)

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
pull/563/head
Varun Patil 2023-04-01 09:43:51 -07:00
parent 07da344807
commit 0a37263dda
1 changed files with 1 additions and 1 deletions

View File

@ -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;