Commit 40e555e
committed
fix: remove invalid Unlock calls in scaleset worker
- Remove Unlock call in handleScaleDown that was called before any lock
was acquired
- Change defer Unlock to immediate Unlock in consolidateRunnerState loop
to avoid holding locks until function exit1 parent 35ac87d commit 40e555e
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
| 569 | + | |
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
896 | | - | |
897 | 896 | | |
898 | 897 | | |
899 | 898 | | |
| |||
0 commit comments