[WARM] Too many emits!
During my test with one plugin I obtain:
27/10 19:18  - warn: Flooding detected! Calls : 101, Duration : 5401 27/10 19:18  - warn: [socket.io] Too many emits! Disconnecting uid : 1. Events :
I have some question for you:
- why this warm is generated?
- This warm is blocked? I mean when this warm is generated the plugins works or not?
- How can avoid this warm?
Anyone can help me to understand what I'm wronging?
@doppy What is the plugin?
@yariplus is a plugin that I created. Can you explain why this warm is throwed?
You appear to be calling
socket.emit()too many times. Generally, this should only be called once on page load, and once when a button action is clicked. But something is firing 20 times a second. You probably have a error in your code that is looping through your
Could be emitting because of some queued requests from socket.io, and the server going down and reconnecting...
socket.io behaves badly and sometimes floods the server with queued up calls, hence we added this detection to temporarily drop the connection.