Rename RELOAD_INTERVAL_SECONDS to CHECK_INTERVAL_SECONDS
This commit is contained in:
parent
e1c81bb404
commit
cf46f1124a
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ fn main() {
|
||||||
Err(e) => panic!("{}", e)
|
Err(e) => panic!("{}", e)
|
||||||
};
|
};
|
||||||
|
|
||||||
let reload_interval = match env::var("RELOAD_INTERVAL_SECONDS") {
|
let reload_interval = match env::var("CHECK_INTERVAL_SECONDS") {
|
||||||
Ok(interval_string) => i64::from_str(&interval_string).unwrap_or_else(|e| {
|
Ok(interval_string) => i64::from_str(&interval_string).unwrap_or_else(|e| {
|
||||||
let warn_msg = format!("Expected integer number, got '{interval_string}'. Defaulting to 60");
|
let warn_msg = format!("Expected integer number, got '{interval_string}'. Defaulting to 60");
|
||||||
match connected_to_journal() {
|
match connected_to_journal() {
|
||||||
|
|
Loading…
Reference in a new issue