Oxidaner opened a new pull request, #3293:
URL: https://github.com/apache/dubbo-go/pull/3293
## Summary
Fix `server.Server.Serve()` so it no longer blocks forever on `select {}`
This change keeps the shutdown model split by responsibility:
## Changes
- add instance-level stop flow for `server.Server`
- replace the terminal `select {}` in `Serve()` with channel-based waiting
- make `Stop(ctx)` close the serve stop channel and wait for `Serve()` to
exit
- register live servers as process-level shutdown stoppers
- add `graceful_shutdown.Done()` as a fallback release path for extreme
shutdown races
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]