nsqio / go-nsq

The official Go package for NSQ
MIT License
2.59k stars 444 forks source link

if writeLoop or readLoop is exited,i think the nsq client will not work,why the level of the log in info #272

Closed li-bit closed 4 years ago

li-bit commented 4 years ago

c.log(LogLevelInfo, "readLoop exiting")

li-bit commented 4 years ago

and i want to know why it must be exited

ploxiln commented 4 years ago

This happens when ending the process normally, for example when you stop a service before updating it and starting it again.

li-bit commented 4 years ago

sorry,i can not understand,this is the warning log

IO error - EOF delaying close, 4 outstanding messages IO error - write tcp 100.108.184.99:54184->100.107.240.206:4150: write: broken pipe error sending command FIN 0c4414fd3ad36000 - write tcp 100.108.184.99:54184->100.107.240.206:4150: write: broken pipe

li-bit commented 4 years ago

Can you change it to not exit?