Skip to content

Commit d7f6b97

Browse files
committed
ACP2E-4360: Sales async by id insert limited to 100 entries per cron run
- Fixed integration test timeout
1 parent 1b5c765 commit d7f6b97

File tree

1 file changed

+1
-4
lines changed
  • app/code/Magento/Sales/Model/ResourceModel

1 file changed

+1
-4
lines changed

app/code/Magento/Sales/Model/ResourceModel/Grid.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,10 @@ public function refreshBySchedule()
147147
$timestamps = array_column($fetchResult, 'updated_at');
148148
if ($timestamps) {
149149
$lastUpdatedAt = max(max($timestamps), $lastUpdatedAt);
150+
$this->lastUpdateTimeCache->save($this->gridTableName, $lastUpdatedAt);
150151
}
151152
}
152153
}
153-
154-
if ($lastUpdatedAt) {
155-
$this->lastUpdateTimeCache->save($this->gridTableName, $lastUpdatedAt);
156-
}
157154
}
158155

159156
/**

0 commit comments

Comments
 (0)