Skip to content

Commit

Permalink
bug(fix) diagnostic thread sleep time fix (ENG-313) (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
epankou authored and Railag committed Jan 25, 2019
1 parent a831419 commit 96e5325
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions daemon/src/org/eclipse/iofog/field_agent/FieldAgent.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ private boolean notProvisioned() {
} catch (Exception e) {
logError("Unable send strace logs : " + e.getMessage(), e);
}
}

try {
Thread.sleep(Configuration.getPostDiagnosticsFreq() * 1000);
} catch (InterruptedException e) {
logWarning(e.getMessage());
}
try {
Thread.sleep(Configuration.getPostDiagnosticsFreq() * 1000);
} catch (InterruptedException e) {
logWarning(e.getMessage());
}
}
};
Expand Down

0 comments on commit 96e5325

Please sign in to comment.