udp: check whether to clean scrape response slab less often

This commit is contained in:
Joakim Frostegård 2022-04-14 17:14:38 +02:00
parent 70414ee736
commit 256975a43c

View file

@ -196,7 +196,7 @@ pub fn run_socket_worker(
);
// Run periodic ValidUntil updates and state cleaning
if iter_counter % 128 == 0 {
if iter_counter % 256 == 0 {
let now = Instant::now();
pending_scrape_valid_until =