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