{"action":"created","issue":{"url":"https://api.github.com/repos/feross/torrent-discovery/issues/26","repository_url":"https://api.github.com/repos/feross/torrent-discovery","labels_url":"https://api.github.com/repos/feross/torrent-discovery/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/feross/torrent-discovery/issues/26/comments","events_url":"https://api.github.com/repos/feross/torrent-discovery/issues/26/events","html_url":"https://github.com/feross/torrent-discovery/issues/26","id":173135879,"number":26,"title":"How to setting intervalMs for discovery","user":{"login":"bachlx-bitmark","id":13616626,"avatar_url":"https://avatars.githubusercontent.com/u/13616626?v=3","gravatar_id":"","url":"https://api.github.com/users/bachlx-bitmark","html_url":"https://github.com/bachlx-bitmark","followers_url":"https://api.github.com/users/bachlx-bitmark/followers","following_url":"https://api.github.com/users/bachlx-bitmark/following{/other_user}","gists_url":"https://api.github.com/users/bachlx-bitmark/gists{/gist_id}","starred_url":"https://api.github.com/users/bachlx-bitmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachlx-bitmark/subscriptions","organizations_url":"https://api.github.com/users/bachlx-bitmark/orgs","repos_url":"https://api.github.com/users/bachlx-bitmark/repos","events_url":"https://api.github.com/users/bachlx-bitmark/events{/privacy}","received_events_url":"https://api.github.com/users/bachlx-bitmark/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-25T07:51:04Z","updated_at":"2016-08-25T07:58:11Z","closed_at":"2016-08-25T07:58:10Z","body":"Hi feross!\r\n\r\nI'm studing your code to apply for my project. I have a question for you: client use interval to request to tracker server, but how to setting the time for interval?\r\n\r\nI see that when torrent call new Discovery, the attribute `intervalMs` is not define.\r\nIn Discovery : \r\n\r\n```self._intervalMs = opts.intervalMs || (15 * 60 * 1000)```\r\n\r\nIn Torrent :\r\n ```\r\nself.discovery = new Discovery({\r\n    infoHash: self.infoHash,\r\n    announce: self.announce,\r\n    peerId: self.client.peerId,\r\n    dht: !self.private && self.client.dht,\r\n    tracker: trackerOpts,\r\n    port: self.client.torrentPort\r\n  })\r\n```\r\n\r\n\r\nPlease check help me.\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/feross/torrent-discovery/issues/comments/242309177","html_url":"https://github.com/feross/torrent-discovery/issues/26#issuecomment-242309177","issue_url":"https://api.github.com/repos/feross/torrent-discovery/issues/26","id":242309177,"user":{"login":"bachlx-bitmark","id":13616626,"avatar_url":"https://avatars.githubusercontent.com/u/13616626?v=3","gravatar_id":"","url":"https://api.github.com/users/bachlx-bitmark","html_url":"https://github.com/bachlx-bitmark","followers_url":"https://api.github.com/users/bachlx-bitmark/followers","following_url":"https://api.github.com/users/bachlx-bitmark/following{/other_user}","gists_url":"https://api.github.com/users/bachlx-bitmark/gists{/gist_id}","starred_url":"https://api.github.com/users/bachlx-bitmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachlx-bitmark/subscriptions","organizations_url":"https://api.github.com/users/bachlx-bitmark/orgs","repos_url":"https://api.github.com/users/bachlx-bitmark/repos","events_url":"https://api.github.com/users/bachlx-bitmark/events{/privacy}","received_events_url":"https://api.github.com/users/bachlx-bitmark/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T07:58:10Z","updated_at":"2016-08-25T07:58:10Z","body":"I see that I can set from tracker server.\r\nI close it."}}
{"actor":{"display_login":"bachlx-bitmark"}}