Skip to content

Replace blocked goroutine with GoWhenDone()

Mikhail Mazurskiy requested to merge ash2k/optimize-server-shutdown into master

GoWhenDone() will start a goroutine when stage starts to shut down. This saves us a blocked goroutine per gRPC server while the program is executing.

This builds on https://github.com/ash2k/stager/pull/2.

Merge request reports