Skip to content

Commit

Permalink
make peer sample size variable
Browse files Browse the repository at this point in the history
  • Loading branch information
roks0n committed Jul 24, 2019
1 parent dd34743 commit ed38381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deadlock-delegate/crawler",
"version": "1.2.6",
"version": "1.2.7",
"description": "Crawler scans the ARK network to get information about the peers in the network.",
"main": "src/crawler.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/crawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Crawler {
* Initializes the internal request reactor.
* @method constructor
*/
constructor (timeout = 3000, disconnect = true) {
constructor (timeout = 3000, disconnect = true, sampleSize = 10) {
this.timeout = timeout
this.headers = {}
this.socket = undefined
Expand Down

0 comments on commit ed38381

Please sign in to comment.