forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 01c3205
Small performance improvements to config entry setup retry (home-assistant#110448)
* Small performance improvements to config entry setup retry
- cache some properties that never change
- avoid loader.async_get_integration when we already have it
- avoid multiple integration.domain checks
* tweaks1 parent 6812596 commit 01c3205
2 files changed
+17
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | - | ||
388 | + | ||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | - | ||
393 | + | ||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | - | ||
412 | + | ||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | - | ||
418 | + | ||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | - | ||
478 | + | ||
479 | + | ||
479 | 480 | | |
480 | 481 | | |
481 | 482 | | |
482 | 483 | | |
483 | - | ||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | - | ||
516 | + | ||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | - | ||
668 | + | ||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | - | ||
673 | + | ||
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | - | ||
678 | + | ||
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
683 | - | ||
683 | + | ||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | - | ||
688 | + | ||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
693 | - | ||
693 | + | ||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | - | ||
698 | + | ||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
703 | - | ||
703 | + | ||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | - | ||
708 | + | ||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
713 | - | ||
713 | + | ||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
| |||
0 commit comments