mirror of
https://github.com/kuaifan/dootask.git
synced 2026-07-23 06:28:30 +00:00
refactor(manticore): 简化向量批量分块收尾
This commit is contained in:
parent
48c2c16111
commit
c9b3515aef
@ -2192,9 +2192,7 @@ class ManticoreBase
|
||||
$current[] = $item;
|
||||
$currentBytes += $item['bytes'];
|
||||
}
|
||||
if (!empty($current)) {
|
||||
$chunks[] = $current;
|
||||
}
|
||||
$chunks[] = $current;
|
||||
|
||||
$successCount = 0;
|
||||
foreach ($chunks as $chunk) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user