Remove PoH priority tuning (#7494)
* Remove priority tuning * Allow dead code
This commit is contained in:
parent
f03ed9f5bf
commit
504adcc8c8
|
@ -2,6 +2,7 @@ use clap::{crate_description, crate_name, value_t_or_exit, App, Arg};
|
||||||
use log::*;
|
use log::*;
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
|
#[allow(dead_code)]
|
||||||
fn tune_poh_service_priority(uid: u32) {
|
fn tune_poh_service_priority(uid: u32) {
|
||||||
fn find_pid<P: AsRef<std::path::Path>, F>(
|
fn find_pid<P: AsRef<std::path::Path>, F>(
|
||||||
name: &str,
|
name: &str,
|
||||||
|
@ -145,7 +146,6 @@ fn main() {
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
{
|
{
|
||||||
tune_kernel_udp_buffers();
|
tune_kernel_udp_buffers();
|
||||||
tune_poh_service_priority(peer_uid);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue