fix: remove redundant async wrapper in drain.ts
This commit is contained in:
parent
1b6c43baa4
commit
fddce3db72
@ -77,9 +77,8 @@ function clearFollowupQueueSummaryState(queue: FollowupQueueState): void {
|
||||
|
||||
export async function applyDeferredMediaToQueuedRuns(items: FollowupRun[]): Promise<void> {
|
||||
await Promise.allSettled(
|
||||
items.map(
|
||||
async (item) =>
|
||||
await applyDeferredMediaUnderstandingToQueuedRun(item, { logLabel: "followup queue" }),
|
||||
items.map((item) =>
|
||||
applyDeferredMediaUnderstandingToQueuedRun(item, { logLabel: "followup queue" }),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user