From b66c809b01ee5c202d26dc3afd4185192cbef9ee Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Thu, 28 Sep 2023 19:07:11 +0800 Subject: [PATCH] Add TODO for updating rider. #762 --- src/Command/GetJobOrderArchiveDataCommand.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Command/GetJobOrderArchiveDataCommand.php b/src/Command/GetJobOrderArchiveDataCommand.php index 4fe27fb7..e266f6dd 100644 --- a/src/Command/GetJobOrderArchiveDataCommand.php +++ b/src/Command/GetJobOrderArchiveDataCommand.php @@ -850,6 +850,11 @@ class GetJobOrderArchiveDataCommand extends Command protected function updateRiderJobOrders($jo_id_list) { + // TODO: memory exception while updating rider table. + // need to figure out how to make this not run out of memory. + // first draft had us selecting and finding the rider ids. maybe we should bring + // that back with the set attribute? I can't remember if I ran it with that one :( + // so that updating will have a smaller result set. $db = $this->em->getConnection(); $db->getWrappedConnection()->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, false);