Commit f25f68d
authored
Make cleanup wait timeout configurable in LocalWorkerConfig (TraceMachina#2456)
- Add max_cleanup_wait (default: 30s) and max_cleanup_backoff (default: 500ms) fields to LocalWorkerConfig
- Replace hardcoded MAX_WAIT and MAX_BACKOFF constants with configurable instance fields in RunningActionsManagerImpl
- Update local_worker.rs to pass new fields from config to RunningActionsManagerArgs
- Update tests with new fields
- Update documentation for new config fields1 parent 414246b commit f25f68d
5 files changed
Lines changed: 106 additions & 7 deletions
File tree
- nativelink-config/src
- nativelink-worker
- src
- tests
- web/apps/docs/content/docs/reference/nativelink-config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
781 | 795 | | |
782 | 796 | | |
783 | 797 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
593 | 595 | | |
594 | 596 | | |
595 | 597 | | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
596 | 608 | | |
597 | 609 | | |
598 | 610 | | |
| |||
690 | 702 | | |
691 | 703 | | |
692 | 704 | | |
| 705 | + | |
| 706 | + | |
693 | 707 | | |
694 | 708 | | |
695 | 709 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2560 | 2560 | | |
2561 | 2561 | | |
2562 | 2562 | | |
| 2563 | + | |
| 2564 | + | |
2563 | 2565 | | |
2564 | 2566 | | |
2565 | 2567 | | |
| |||
2607 | 2609 | | |
2608 | 2610 | | |
2609 | 2611 | | |
| 2612 | + | |
| 2613 | + | |
2610 | 2614 | | |
2611 | 2615 | | |
2612 | 2616 | | |
| |||
2617 | 2621 | | |
2618 | 2622 | | |
2619 | 2623 | | |
2620 | | - | |
2621 | | - | |
2622 | | - | |
2623 | | - | |
2624 | | - | |
2625 | 2624 | | |
2626 | 2625 | | |
2627 | 2626 | | |
| |||
2656 | 2655 | | |
2657 | 2656 | | |
2658 | 2657 | | |
| 2658 | + | |
| 2659 | + | |
2659 | 2660 | | |
2660 | 2661 | | |
2661 | 2662 | | |
| |||
2741 | 2742 | | |
2742 | 2743 | | |
2743 | 2744 | | |
2744 | | - | |
| 2745 | + | |
2745 | 2746 | | |
2746 | 2747 | | |
2747 | 2748 | | |
| |||
2768 | 2769 | | |
2769 | 2770 | | |
2770 | 2771 | | |
2771 | | - | |
| 2772 | + | |
2772 | 2773 | | |
2773 | 2774 | | |
2774 | 2775 | | |
| |||
0 commit comments