Add TODO for updating rider. #762
This commit is contained in:
parent
23ab280df3
commit
b66c809b01
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue