Showing 2 of 5 total issues
Function configureExchangesAndQueues
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function configureExchangesAndQueues(profile, taskerConfig) {
const exchangeName = taskerConfig.exchange || 'tasker-work-x'
const workQueueName = taskerConfig.workQueueName || 'tasker-work-q'
const interruptQueueName = taskerConfig.interruptQueueName || 'tasker-interrupt-q'
Function registerRun
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.registerRun = function (taskName, app, rabbit) {
const taskerClient = app.tasker
// set up the task handler
//
rabbit.handle(taskName, message => {