dat-ecosystem-archive / datBase

Open data sharing powered by Dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
http://datbase.org
244 stars 32 forks source link

peers count is inaccurate #439

Closed okdistribute closed 7 years ago

okdistribute commented 7 years ago

Uncommented a test in the tests/e2e/server.js file because the peer count seems to fluctuate, particularly with archives with lots of metadata, because it's using archive.metadata.peers to count the # of peers. Instead, it should use archive.content.peers -- however, we don't have a content feed right now in the hyperdrive-archiver.

okdistribute commented 7 years ago

Looks like this is fixed after mafintosh's update to the hypercore peers count