Skip to content

Commit

Permalink
use sockets count (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
lspgn authored May 19, 2024
1 parent f9895d1 commit 3dd0e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func (r *UDPReceiver) Start(addr string, port int, decodeFunc DecoderFunc) error
if err := r.decoders(r.workers, decodeFunc); err != nil {
return err
}
if err := r.receivers(r.workers, addr, port); err != nil {
if err := r.receivers(r.sockets, addr, port); err != nil {
return err
}
return nil
Expand Down

0 comments on commit 3dd0e8a

Please sign in to comment.