mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
parent
23f0ec32d4
commit
b77bdcbcf4
@ -72,10 +72,12 @@ class ImportRunBasedPurgeStrategy extends PurgeStrategy
|
|||||||
SyncUtils::extractVariableNames($pattern)
|
SyncUtils::extractVariableNames($pattern)
|
||||||
);
|
);
|
||||||
|
|
||||||
$rows = $runA->fetchRows($columns, null, $result);
|
foreach (array_chunk($result, 1000) as $keys) {
|
||||||
$result = array();
|
$rows = $runA->fetchRows($columns, null, $keys);
|
||||||
foreach ($rows as $row) {
|
$result = array();
|
||||||
$result[] = SyncUtils::fillVariables($pattern, $row);
|
foreach ($rows as $row) {
|
||||||
|
$result[] = SyncUtils::fillVariables($pattern, $row);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user