Skip to content

Commit c1fd5bf

Browse files
authored
Release blob chunks during ArchiveSelector iteration (#24220)
1 parent 715b68f commit c1fd5bf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/DataAccess/ArchiveSelector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@ public static function querySingleBlob(array $archiveIds, string $recordName)
646646
// $rawName = eg 'PluginName_ArchiveName'
647647
$rawName = $chunk->getRecordNameWithoutChunkAppendix($row['name']);
648648
foreach ($blobs as $subtableId => $blob) {
649+
unset($blobs[$subtableId]);
649650
yield array_merge($row, [
650651
'value' => $blob,
651652
'name' => ArchiveSelector::appendIdSubtable($rawName, $subtableId),

0 commit comments

Comments
 (0)