This commit is contained in:
seydx
2026-01-03 16:12:37 +01:00
parent 90c0b513e9
commit 263579fa01
-2
View File
@@ -55,8 +55,6 @@ func NewProducer(rawURL string) (*Producer, error) {
}
func (p *Producer) Start() error {
defer p.client.Close()
for {
_ = p.client.SetDeadline(time.Now().Add(core.ConnDeadline))
pkt, err := p.client.ReadPacket()