From 42e454667fc7bf7da08e72003995a6a61e260c09 Mon Sep 17 00:00:00 2001 From: chinyuchan Date: Tue, 22 Aug 2023 07:05:42 -0700 Subject: [PATCH] update interval. --- prismer/src/commands.rs | 2 +- scanner/src/commands.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prismer/src/commands.rs b/prismer/src/commands.rs index dd6db0b..478ed63 100644 --- a/prismer/src/commands.rs +++ b/prismer/src/commands.rs @@ -147,7 +147,7 @@ impl Subscribe { let itv = env::var("INTERVAL") .ok() - .unwrap_or(String::from("15")) + .unwrap_or(String::from("12")) .parse::()?; let interval = Duration::from_secs(itv); info!("interval={:?}", interval); diff --git a/scanner/src/commands.rs b/scanner/src/commands.rs index 77f55d2..f028f10 100644 --- a/scanner/src/commands.rs +++ b/scanner/src/commands.rs @@ -166,7 +166,7 @@ impl Subscribe { let itv = env::var("INTERVAL") .ok() - .unwrap_or(String::from("15")) + .unwrap_or(String::from("12")) .parse::()?; let interval = Duration::from_secs(itv); info!("interval={:?}", interval);