Skip to content

Commit

Permalink
don't await for qrls
Browse files Browse the repository at this point in the history
  • Loading branch information
Varixo committed Jan 31, 2025
1 parent 808acdf commit 26564a1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/qwik/src/core/shared/scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,17 +326,6 @@ export const createScheduler = (
const nextChore = choreQueue[0];

if (nextChore.$executed$) {
if (
nextChore === runUptoChore &&
nextChore.$type$ === ChoreType.WAIT_FOR_ALL &&
qrlRuns.length
) {
return Promise.all(qrlRuns)
.catch(() => {
// they are already handled by the qrl runs
})
.then(() => drainUpTo(runUptoChore, isServer));
}
choreQueue.shift();
if (nextChore === runUptoChore) {
break;
Expand Down

0 comments on commit 26564a1

Please sign in to comment.