src/agent/balancer.js
File balancer.js
has 288 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { _, t, path, fsAsync, config, log } from 'azk';
import { async, defer, promisifyAll, thenAll, promiseResolve } from 'azk/utils/promises';
import { lazy_require } from 'azk';
import { net } from 'azk/utils';
Balancer
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
Open
var Balancer = {
memcached : null,
hipache : null,
mem_client: null,