Dependency upgrade

This commit is contained in:
Ara Sadoyan
2025-04-08 11:42:01 +02:00
parent 788c618a3d
commit e6bc1b8042
4 changed files with 31 additions and 175 deletions

View File

@@ -55,7 +55,7 @@ pub async fn start(fp: String, mut toreturn: Sender<(UpstreamsDashMap, Headers)>
loop {
// println!(" ==> {:?}", consul.services);
let num = rand::thread_rng().gen_range(1..end);
let num = rand::rng().random_range(1..end);
headers.clear();
for (k, v) in config.headers.clone() {
headers.insert(k.to_string(), v);