Skip to content

Commit

Permalink
Increase speed of the scheduling service
Browse files Browse the repository at this point in the history
Signed-off-by: trivernis <trivernis@protonmail.com>
  • Loading branch information
Trivernis committed Feb 11, 2022
1 parent dd2db19 commit cbdbbfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class FileCardComponent implements OnInit, OnChanges, OnDestroy {
this.workId = this.schedulingService.addWork(
LOADING_WORK_KEY,
async () => {
await this.schedulingService.delay(1);
await this.schedulingService.delay(0);
this.loading = false;
this.changeDetector.markForCheck();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class SchedulingService {
}
}
}
await this.delay(1);
await this.delay(0);
}
}
}

0 comments on commit cbdbbfb

Please sign in to comment.