Update lib.rs

This commit is contained in:
Robert Chacón 2024-10-31 20:26:09 -06:00 committed by GitHub
parent 90c1b1823f
commit 11c8a25c1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -373,7 +373,7 @@ fn use_bin_packing_to_balance_cpu() -> PyResult<bool> {
let config = lqos_config::load_config().unwrap();
Ok(config.queues.use_binpacking)
}
https://github.com/LibreQoE/LibreQoS/pull/564
#[pyfunction]
fn monitor_mode_only() -> PyResult<bool> {
let config = lqos_config::load_config().unwrap();
@ -701,4 +701,4 @@ pub fn get_libreqos_directory() -> PyResult<String> {
#[pyfunction]
pub fn is_network_flat() -> PyResult<bool> {
Ok(lqos_config::NetworkJson::load().unwrap().get_nodes_when_ready().len() == 1)
}
}