makeomatic/mservice

View on GitHub
packages/plugin-consul/src/patch.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function _wait has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

consul.Lock.prototype._wait = function (ctx: any) {
  const retry = () => {
    utils.setTimeoutContext(() => {
      this._run(ctx)
    }, ctx, ctx.lockRetryTime)
Severity: Minor
Found in packages/plugin-consul/src/patch.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status