Skip to content

Commit

Permalink
Remove synthetic sleep for Clearblade race condition (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu authored Apr 15, 2024
1 parent 356527b commit 70221d9
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1178,11 +1178,6 @@ private boolean updateConfig(SubFolder subBlock, Object data) {
boolean updated = !messageData.equals(sentBlockConfig);
trace(format("updated check %s_%s: %s", CONFIG_SUBTYPE, subBlock, updated));
if (updated) {
// TODO: Remove this once ClearBlade has fixed their stuff (DESK-3084).
if (configIsPending()) {
notice("Sleep for 1s to mitigate Cleablade IoT Core race condition");
safeSleep(ONE_SECOND_MS);
}
String augmentedMessage = actualize(stringify(data));
String topic = subBlock + "/config";
final String transactionId =
Expand Down

0 comments on commit 70221d9

Please sign in to comment.