Add address_cache and exclude loopback from ip limit (#16487)

This commit is contained in:
Tyera Eulberg
2021-04-12 13:59:38 -06:00
committed by GitHub
parent 09752a6827
commit fffff2cd75
2 changed files with 103 additions and 32 deletions

View File

@@ -78,7 +78,7 @@ async fn main() {
let time = faucet1.lock().unwrap().time_slice;
thread::sleep(time);
debug!("clearing ip cache");
faucet1.lock().unwrap().clear_ip_cache();
faucet1.lock().unwrap().clear_caches();
});
run_faucet(faucet, faucet_addr, None).await;