Adding interest re-expression after during state reconciliation
diff --git a/model/sync-logic.cc b/model/sync-logic.cc
index 98fdb1a..bd4456f 100644
--- a/model/sync-logic.cc
+++ b/model/sync-logic.cc
@@ -241,6 +241,13 @@
m_scheduler.schedule (TIME_MILLISECONDS (waitDelay),
bind (&SyncLogic::processSyncInterest, this, digest, interestName, true),
DELAYED_INTEREST_PROCESSING);
+
+ // just in case, re-express our interest (e.g., probably something bad happened)
+
+ m_scheduler.cancel (REEXPRESSING_INTEREST);
+ m_scheduler.schedule (TIME_SECONDS_WITH_JITTER (0),
+ bind (&SyncLogic::sendSyncInterest, this),
+ REEXPRESSING_INTEREST);
}
}
else