You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating one <mqtt-connection> element and binding to its client property via <mqtt-connection client='{{client}}'> and then injecting it into another mqtt-connection via <mqtt-connection client='[[client]]'> results in the following error when injected into more than 10 different connection:
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use
either the property client.setMaxListeners could be exposed via the <mqtt-connection> or increase client.maxListeners each time mqtt-connection._clientChanged is called.
The text was updated successfully, but these errors were encountered:
When creating one
<mqtt-connection>
element and binding to its client property via<mqtt-connection client='{{client}}'>
and then injecting it into another mqtt-connection via<mqtt-connection client='[[client]]'>
results in the following error when injected into more than 10 different connection:This is caused by https://github.com/mqttjs/mqtt-elements/blob/master/mqtt-connection.html#L311 as the element is adding itself as a listener to the client
either the property
client.setMaxListeners
could be exposed via the<mqtt-connection>
or increaseclient.maxListeners
each timemqtt-connection._clientChanged
is called.The text was updated successfully, but these errors were encountered: