From a768bfe6a2c0b8a7dca8118f6cdbd423a9a0c43e Mon Sep 17 00:00:00 2001 From: shadow3aaa Date: Wed, 30 Oct 2024 19:24:58 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=BC=A9=E7=9F=AD=E8=BF=9B?= =?UTF-8?q?=E5=8C=96=E9=97=B4=E9=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/framework/scheduler/looper/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/scheduler/looper/mod.rs b/src/framework/scheduler/looper/mod.rs index b6ec740b..9b691470 100644 --- a/src/framework/scheduler/looper/mod.rs +++ b/src/framework/scheduler/looper/mod.rs @@ -74,7 +74,7 @@ impl EvolutionState { config: &mut Config, mode: Mode, ) { - if unlikely(self.mutate_timer.elapsed() > Duration::from_secs(1)) { + if unlikely(self.mutate_timer.elapsed() > Duration::from_millis(100)) { self.mutate_timer = Instant::now(); if let Some(fitness) = evaluate_fitness(buffer, cpu_temp_watcher, config, mode) {