Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wait in the main routine for the interrupt signal instead of exiting the main routine. We are facing some crash when we try to gracefuly shoutdown the container. From the Official Documentation: Calling Goexit from the main goroutine terminates that goroutine without func main returning. Since func main has not returned, the program continues execution of other goroutines. If all other goroutines exit, the program crashes. https://pkg.go.dev/runtime#Goexit
- Loading branch information