ZeroNetJS / zeronet-js

ZeroNet in JS
MIT License
49 stars 9 forks source link

Tracker client shouldn't announce on startup #33

Open mkg20001 opened 7 years ago

mkg20001 commented 7 years ago

OS: Linux

Bundle: Git

Steps to Reproduce:

  1. Start the node
  2. Add many zites
  3. Restart

Affected Component(s): zite, common

Expected Results:

The tracker client only announces on discovery or through the announce loop

Actual Results:

The tracker client announces on creation which causes a client overload if the client has more than 20 zites

Other information:

mkg20001 commented 7 years ago

Regression Additionally (node:11279) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 update listeners added. Use emitter.setMaxListeners() to increase limit occurs