Skip to content

Commit 26564a1

Browse files
committed
don't await for qrls
1 parent 808acdf commit 26564a1

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

packages/qwik/src/core/shared/scheduler.ts

-11
Original file line numberDiff line numberDiff line change
@@ -326,17 +326,6 @@ export const createScheduler = (
326326
const nextChore = choreQueue[0];
327327

328328
if (nextChore.$executed$) {
329-
if (
330-
nextChore === runUptoChore &&
331-
nextChore.$type$ === ChoreType.WAIT_FOR_ALL &&
332-
qrlRuns.length
333-
) {
334-
return Promise.all(qrlRuns)
335-
.catch(() => {
336-
// they are already handled by the qrl runs
337-
})
338-
.then(() => drainUpTo(runUptoChore, isServer));
339-
}
340329
choreQueue.shift();
341330
if (nextChore === runUptoChore) {
342331
break;

0 commit comments

Comments
 (0)