Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workers, isBlocking and queue size to listen config #208

Merged
merged 3 commits into from
Sep 1, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert default Workers num as sockets*2
  • Loading branch information
Paweł Mieczkowski committed Aug 27, 2023
commit 899b2df9c494c6038e1e9159b1c012fc06a68f67
2 changes: 1 addition & 1 deletion utils/udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func NewUDPReceiver(cfg *UDPReceiverConfig) (*UDPReceiver, error) {
}

if cfg.Workers <= 0 {
cfg.Workers = cfg.Sockets * 2
cfg.Workers = cfg.Sockets
}

r.sockets = cfg.Sockets
Expand Down