cloudflare / tableflip

Graceful process restarts in Go
BSD 3-Clause "New" or "Revised" License
2.91k stars 148 forks source link

Upgrade function documentation #81

Open larry-cdn77 opened 1 year ago

larry-cdn77 commented 1 year ago

The Upgrade function is documented as:

Upgrade triggers an upgrade.

It also waits for response and returns error if child process fails, which might be good to spell out in the description since the verb 'trigger' gives an impression of a function call that will complete immediately