mjpitz / go-gracefully

A simple, efficient, and easy to use Golang library for implementing application health checks. Features first-class support for stream-based checks.
MIT License
10 stars 1 forks source link

Reduce go routine usage #8

Open mjpitz opened 3 years ago

mjpitz commented 3 years ago

The current version was written in a way to get a solution out the door pretty quickly. It would be good to revisit and reduce the number of goroutines that are needed here.

mjpitz commented 1 year ago

Using errgroup.Group here can also be nice to get some better control over go routine executions.