Skip to content

Commit

Permalink
Remove workaround about HEALTH_STATUS_INTERVAL as it fixed in Cf.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Jan 6, 2020
1 parent ec99ef3 commit f110f77
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,6 @@ public static NetworkConfig createDefaultNetworkConfig() {
networkConfig.set(Keys.MID_TRACKER, "NULL");
networkConfig.set(Keys.MAX_ACTIVE_PEERS, 10);
networkConfig.set(Keys.PROTOCOL_STAGE_THREAD_COUNT, 1);
// Workaround for https://github.com/eclipse/leshan/issues/502
// TODO remove this line when we will integrate Cf 2.0.0-M10
networkConfig.set(Keys.HEALTH_STATUS_INTERVAL, 0);

return networkConfig;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,6 @@ public void setRegistrationIdProvider(RegistrationIdProvider registrationIdProvi
public static NetworkConfig createDefaultNetworkConfig() {
NetworkConfig networkConfig = new NetworkConfig();
networkConfig.set(Keys.MID_TRACKER, "NULL");
// Workaround for https://github.com/eclipse/leshan/issues/502
// TODO remove this line when we will integrate Cf 2.0.0-M10
// networkConfig.set(Keys.HEALTH_STATUS_INTERVAL, 0);
return networkConfig;
}

Expand Down

0 comments on commit f110f77

Please sign in to comment.