lib/discovery/udp.js
Function listen
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.listen = function(options, callback) {
var port = options.MICROMONO_DISCOVERY_UDP_PORT || PORT
var address = options.MICROMONO_DISCOVERY_UDP_ADDRESS || ADDRESS
logger.info('Listening service annoucements using udp multicast', {