sys.uptime() returns sec not mins so it should be 60 not 1.
This commit is contained in:
JasonLG1979 2023-07-01 22:25:48 -05:00
parent c4dc7347c7
commit 3dafb5904e

View file

@ -1757,7 +1757,7 @@ async fn main() {
Err(e) => {
sys.refresh_processes();
if sys.uptime() <= 1 {
if sys.uptime() <= 60 {
debug!("Retrying to initialise discovery: {e}");
tokio::time::sleep(DISCOVERY_RETRY_TIMEOUT).await;
} else {