gdaws/node-stomp — pull request #11 by glasseyes42 (2014-08-18 11:01:47+00:00)
Title: Allow unlimited reconnects

Discovered that when using multiple brokers, if the first had failed we would never progress to the following alternative nodes.

Unless we explicitly set maxReconnectAttempts to equal -1, it will never attempt to reconnect. Possible typo? Here's the fix.