8000 optimization · web2solutions/rabbitmq-tutorials@a75cb98 · GitHub
[go: up one dir, main page]

Skip to content

Commit a75cb98

Browse files
committed
optimization
1 parent 2eace3e commit a75cb98

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

go/receive_logs_topic.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ func main() {
6868
}()
6969

7070
log.Printf(" [*] Waiting for logs. To exit press CTRL+C")
71-
select {
72-
case <-done:
73-
break
74-
}
71+
<-done
7572
log.Printf("Done")
7673

7774
os.Exit(0)

0 commit comments

Comments
 (0)
0