From ecbb556d15c5dd44e7228d1c1d9fcf114f913a17 Mon Sep 17 00:00:00 2001 From: Duncan Calvert Date: Thu, 12 Dec 2024 14:59:06 -0600 Subject: [PATCH] Add clarity to RequestConfirmFreezable. Does not change functionality. --- .../us/ihmc/communication/crdt/RequestConfirmFreezable.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ihmc-communication/src/main/java/us/ihmc/communication/crdt/RequestConfirmFreezable.java b/ihmc-communication/src/main/java/us/ihmc/communication/crdt/RequestConfirmFreezable.java index 548243141e4..93ad806a998 100644 --- a/ihmc-communication/src/main/java/us/ihmc/communication/crdt/RequestConfirmFreezable.java +++ b/ihmc-communication/src/main/java/us/ihmc/communication/crdt/RequestConfirmFreezable.java @@ -25,8 +25,7 @@ * A singleton CRDTInfo object exists for a node in the CRDT graph * which has an update number that is 0 for the first update and * monotonically increases on each subsequent update. This is different - * than the request number. In this class - * that update number is used to "timeout" the freeze if a confirmation + * than the request number and is used to "timeout" the freeze if a confirmation * is not recieved within the max freeze duration. *

* @@ -87,7 +86,7 @@ public void freeze() updateNumberToUnfreeze = crdtInfo.getUpdateNumber(); - isFrozen = crdtInfo.getUpdateNumber() < updateNumberToUnfreeze; + isFrozen = false; if (wasFrozen != isFrozen) LogTools.debug("%s Update #%d: Frozen %b -> %b %s".formatted(crdtInfo.getActorDesignation(),