Skip to content

Commit

Permalink
update interval.
Browse files Browse the repository at this point in the history
  • Loading branch information
chinyuchan committed Aug 22, 2023
1 parent 8747955 commit 42e4546
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prismer/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl Subscribe {

let itv = env::var("INTERVAL")
.ok()
.unwrap_or(String::from("15"))
.unwrap_or(String::from("12"))
.parse::<u64>()?;
let interval = Duration::from_secs(itv);
info!("interval={:?}", interval);
Expand Down
2 changes: 1 addition & 1 deletion scanner/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl Subscribe {

let itv = env::var("INTERVAL")
.ok()
.unwrap_or(String::from("15"))
.unwrap_or(String::from("12"))
.parse::<u64>()?;
let interval = Duration::from_secs(itv);
info!("interval={:?}", interval);
Expand Down

0 comments on commit 42e4546

Please sign in to comment.