Commit ef4556d
committed
fix(avahi): bound restart time during rename flow
- add a 10 second timeout to the Avahi restart used after hostname changes
- before this change, the rename flow could wait indefinitely if the rc.avahidaemon script hung
- that was risky in onboarding because the user-facing reconnect path depends on this service refresh completing or failing predictably
- now the restart is bounded, logs a useful error on failure, and still rethrows so the existing strict mutation failure behavior is preserved1 parent 04eee60 commit ef4556d
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
13 | 20 | | |
0 commit comments