Fix comment above goroutine code

This commit is contained in:
Elara 2022-07-31 02:40:46 -07:00
parent 3c31bd2921
commit d59e7af2d1

View File

@ -25,7 +25,8 @@ func main() {
syscall.SIGTERM,
)
// This goroutine ensures that itc
// This goroutine ensures that itctl will exit
// at most 200ms after the user sends SIGINT/SIGTERM.
go func() {
<-ctx.Done()
time.Sleep(200*time.Millisecond)