mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:20:43 +00:00
fix(queue): preserve pending items during drains
This commit is contained in:
@@ -219,7 +219,7 @@ export function scheduleFollowupDrain(
|
||||
enqueuedAt: Date.now(),
|
||||
...routing,
|
||||
});
|
||||
queue.items.splice(0);
|
||||
queue.items.splice(0, groupItems.length);
|
||||
if (pendingSummary) {
|
||||
clearQueueSummaryState(queue);
|
||||
pendingSummary = undefined;
|
||||
|
||||
Reference in New Issue
Block a user