diff --git a/package.json b/package.json index cee7e51..f80f66e 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/crawler.js b/src/crawler.js index 2ea1545..d93eb7d 100644 --- a/src/crawler.js +++ b/src/crawler.js @@ -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