From 0a37263ddab068c0fc20554e26b9d0eb744259f4 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sat, 1 Apr 2023 09:43:51 -0700 Subject: [PATCH] places-setup: reduce transactioon size to 100 (fix #535) Signed-off-by: Varun Patil --- lib/Command/PlacesSetup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Command/PlacesSetup.php b/lib/Command/PlacesSetup.php index e40f9568..84542fa4 100644 --- a/lib/Command/PlacesSetup.php +++ b/lib/Command/PlacesSetup.php @@ -273,7 +273,7 @@ class PlacesSetup extends Command } // Commit transaction every once in a while - if (0 === $count % 500) { + if (0 === $count % 100) { $this->connection->commit(); $txnCount = 0;