Fix comment above goroutine code

This commit is contained in:
Elara 2022-07-31 02:40:46 -07:00
parent a78650e526
commit 19bacf29b2

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)