From 704f7474211df16ee0b8e522fbc03ecb086bc744 Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Tue, 19 Dec 2023 14:49:34 +0200 Subject: [PATCH] update TODOs --- lib/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/index.js b/lib/index.js index c9aaaf5..feacd08 100644 --- a/lib/index.js +++ b/lib/index.js @@ -130,13 +130,13 @@ function initConductor(peer, config) { const [myRules, theirRules] = rules - // TODO: Figure out goals for each tangle, and sizes according to maxLogBytes + // TODO: If goals are too big for maxBytes budget, scale down goals // TODO: Figure out ghost spans for dicts and sets setupAccountGoals(myID, myRules) - // TODO: watch the set for live updates, on add, syncAccount() - // TODO: watch the set for live updates, on remove, forgetAccount() + // TODO: watch the set for live updates, on add, setupAccountGoals() + // TODO: watch the set for live updates, on remove, teardownAccountGoals() const followedAccounts = peer.set.values('follow') for (const theirID of followedAccounts) { setupAccountGoals(theirID, theirRules)