lib/common/connection.js
Function connectionFactory
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function connectionFactory (assert, amqp, Promise, util, _) {
/**
* Connection provides a wrapper around the AMQP connection logic
* which presents a simplified interface for using multiple connections
* in the messenger.
Function start
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Connection.prototype.start = function() {
var self = this;
return new Promise(function (resolve, reject) {
if (self.connection) {
Function connectionFactory
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function connectionFactory (assert, amqp, Promise, util, _) {