Fix comment above goroutine code
This commit is contained in:
parent
3c31bd2921
commit
d59e7af2d1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user