azukiapp/azk

View on GitHub
src/agent/balancer.js

Summary

Maintainability
B
5 hrs
Test Coverage

File balancer.js has 288 lines of code (exceeds 250 allowed). Consider refactoring.
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';
Severity: Minor
Found in src/agent/balancer.js - About 2 hrs to fix

    Balancer has 21 functions (exceeds 20 allowed). Consider refactoring.
    Open

    var Balancer = {
      memcached : null,
      hipache   : null,
      mem_client: null,
    
    
    Severity: Minor
    Found in src/agent/balancer.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status