Skip to content

Commit

Permalink
log miners per connection when starting proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Cazala committed Dec 18, 2017
1 parent 9a6aee5 commit b7742a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ test.html
proxy.log
stats.log
yarn.lock
build
build
api
1 change: 1 addition & 0 deletions src/Proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ class Proxy extends EventEmitter {
this.wss.on("listening", () => {
this.online = true;
console.log(`listening on port ${port}` + (isHTTPS ? ", using a secure connection" : ""));
console.log(`miners per connection:`, this.maxMinersPerConnection);
if (wssOptions.path) {
console.log(`path: ${wssOptions.path}`);
}
Expand Down

0 comments on commit b7742a3

Please sign in to comment.