rename cached_traffic_control.rs to traffic_control_cache.rs, improve dev docs

Keep things inside crate::traffic_control_cache (do not pollute root namespace).

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer
2022-02-14 13:44:27 +01:00
parent 192ece47fb
commit e705b3057f
4 changed files with 31 additions and 7 deletions

View File

@ -40,7 +40,7 @@ use proxmox_backup::{
auth::check_pbs_auth,
jobstate::{self, Job},
},
TRAFFIC_CONTROL_CACHE,
traffic_control_cache::TRAFFIC_CONTROL_CACHE,
};
use pbs_buildcfg::configdir;