Skip to content

Conversation

robertkowalski
Copy link
Contributor

@robertkowalski robertkowalski commented Jan 11, 2018

rebased and incorporated feedback from #45

todo:

  • switch git master of dht in package.json to release
  • final testing

@mafintosh
Copy link
Contributor

@robertkowalski dht out with the maxAge option, we should bump the semver to ^7.9.0

README.md Outdated
--dht_maxValues DHT max values [number]
--bn, --bootstrap Bootstrap nodes [string] [required]
--aph, --api_port HTTP api port [number] [required]
--dht_peer_maxAge, --dts Max age for peers in DHT [number]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robertkowalski we should probably use --dpma or dpa as alias

@robertkowalski
Copy link
Contributor Author

@mafintosh bumped! @prdn changed!

package.json Outdated
"dependencies": {
"async": "^2.6.0",
"bittorrent-dht": "^7.8.2",
"bittorrent-dht": "7.9.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should still have the ^ here

lib/Grape.js Outdated
const kcnt = this.cbq0.cnt(ih)
if (kcnt > 1) return

this._mem.remove(ih)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robertkowalski robertkowalski changed the title [WIP] DO NOT MERGE peers: move to maxAge instead of timeslotting peers: move to maxAge instead of timeslotting Jan 11, 2018
dht_nodeLiveness: 5 * 60 * 1000, // 5 min
api_port: null,
timeslot: 10000
dht_peer_maxAge: 10000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robertkowalski I think this should be 60000 as default. 10000 is a bit too low.

@prdn prdn merged commit b3a3e0e into bitfinexcom:master Jan 11, 2018
@robertkowalski robertkowalski deleted the maxage branch January 11, 2018 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants