Commit 1048daf
committed
Fix concurrent daemon startup race condition
When two CLI processes race to start a daemon, the loser's child exits
after failing to acquire the lock. Previously ensureDaemonClient gave up
immediately on child exit. Now it continues polling for ~1s to discover
the winning daemon before failing.1 parent 6e28a6e commit 1048daf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | | - | |
| 549 | + | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| |||
0 commit comments