You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mmckegg I'm trying to figure out how to make this support progress bars.
in EBT we have details of where we and our peer are up to somewhat more reliably,
so we can easily figure out exactly how many messages are missing, how many feeds not complete yet, both to send and to receive.
Looking at your code, the part I'm having figuring out is pendingFeedsPerPeer is that an object of peers you are currently connected to, pointing to counts of the feeds which are not complete on that particular peer?
are the peer ids used later in patchwork? or are they reduced to a number?
The text was updated successfully, but these errors were encountered:
@dominictarr yeah, looks like pendingFeedsForPeer is indeed reduced to a number.
The mechanism doesn't matter but what we need to get out of progress is:
the current sync progress for every connected peer (how far are we through the sync progress)
the total number of feeds that are pending download (how many feeds are not up to date? Ideally only ones available from connected peers, otherwise the progress will appear to stall)
Currently peer sync progress is just the number of feeds that are still waiting to sync. But this could be changed to a percentage of completion if that's easier to figure out with EBT.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@mmckegg I'm trying to figure out how to make this support progress bars.
in EBT we have details of where we and our peer are up to somewhat more reliably,
so we can easily figure out exactly how many messages are missing, how many feeds not complete yet, both to send and to receive.
Looking at your code, the part I'm having figuring out is
pendingFeedsPerPeer
is that an object of peers you are currently connected to, pointing to counts of the feeds which are not complete on that particular peer?are the peer ids used later in patchwork? or are they reduced to a number?
The text was updated successfully, but these errors were encountered: