mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: socket worker: always use relaxed ordering for stats
This commit is contained in:
parent
5e28f5a498
commit
224ae3ea3b
1 changed files with 4 additions and 4 deletions
|
|
@ -259,19 +259,19 @@ impl SocketWorker {
|
||||||
self.shared_state
|
self.shared_state
|
||||||
.statistics_ipv4
|
.statistics_ipv4
|
||||||
.requests_received
|
.requests_received
|
||||||
.fetch_add(requests_received_ipv4, Ordering::Release);
|
.fetch_add(requests_received_ipv4, Ordering::Relaxed);
|
||||||
self.shared_state
|
self.shared_state
|
||||||
.statistics_ipv6
|
.statistics_ipv6
|
||||||
.requests_received
|
.requests_received
|
||||||
.fetch_add(requests_received_ipv6, Ordering::Release);
|
.fetch_add(requests_received_ipv6, Ordering::Relaxed);
|
||||||
self.shared_state
|
self.shared_state
|
||||||
.statistics_ipv4
|
.statistics_ipv4
|
||||||
.bytes_received
|
.bytes_received
|
||||||
.fetch_add(bytes_received_ipv4, Ordering::Release);
|
.fetch_add(bytes_received_ipv4, Ordering::Relaxed);
|
||||||
self.shared_state
|
self.shared_state
|
||||||
.statistics_ipv6
|
.statistics_ipv6
|
||||||
.bytes_received
|
.bytes_received
|
||||||
.fetch_add(bytes_received_ipv6, Ordering::Release);
|
.fetch_add(bytes_received_ipv6, Ordering::Relaxed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue