udp: config: rename ring_entries to ring_size

This commit is contained in:
Joakim Frostegård 2023-03-09 22:15:57 +01:00
parent 0f333d4755
commit 63c705fd17
2 changed files with 3 additions and 3 deletions

View file

@ -93,7 +93,7 @@ impl SocketWorker {
response_receiver: Receiver<(ConnectedResponse, CanonicalSocketAddr)>,
priv_dropper: PrivilegeDropper,
) {
let ring_entries = config.network.ring_entries.next_power_of_two();
let ring_entries = config.network.ring_size.next_power_of_two();
// Try to fill up the ring with send requests
let send_buffer_entries = ring_entries;