forcedotcom / EMP-Connector

A simplified cometd connector for Enterprise Messaging Platform
BSD 3-Clause "New" or "Revised" License
185 stars 243 forks source link

fix reconnect issues #37

Closed aryavk closed 6 years ago

aryavk commented 6 years ago

when reconnecting, the atomicboolean running gets set from true to false, but never back to true again (only the start method does this) this means when getting 401 errors, if the disconnect messages fail, the client will never exit and will stay, meaning that after awhile you will exhaust your 64 connections

aryavk commented 6 years ago

see https://github.com/forcedotcom/EMP-Connector/pull/38 for fix

pbn-sfdc commented 6 years ago

The fix is merged, closing this.