jaakkos/winston-logstash — pull request #7 by ifraixedes (2013-11-14 18:34:21+00:00)
Title: Allows to define 0 reconnections

I changed the constructor condition to accept 0 max_connect_retries, so any retry will be done; I also changed the counter to manage 0 retries accordingly and treat any negative number as infinite retries.