Closed Powersource closed 4 years ago
code is here: https://github.com/ssbc/ssb-db/blob/80af97584f7700661a63fa6065885641911443ae/db.js#L21-L42
but it's only updated every 200 ms, but the numbers under since.plugins
are exact at the time you call status
. so it makes sense that the progress.indexes.current
is slightly lower than the true average.
Ah, thanks for the explanation :)
Linking here from the code now
I just tried deleting my links2 dir, ran
sbot start
and let it run for a little bit. This is a screenshot of it runningSurprising things:
current == links2
. Iscurrent
some kind of average? Plain average of all the indexes is730169488.375
(quadratic mean~739477572
) which is close but not it. However, if we can just assume that it's some average then that's probably good enough for our purposes.start
to be 0 or close to it.Not gonna dwell on this too long since I don't need to but would be nice to know. Do you have any ideas @mixmix ?