microfleet/core

View on GitHub
packages/plugin-router-amqp/src/retry.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function onCompleteRetry has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  return async function onCompleteRetry(
    this: Microfleet, err: any, data: any, actionName: string, message: Message
  ): Promise<any> {
    const { properties } = message
    const { headers = Object.create(null) } = properties
Severity: Major
Found in packages/plugin-router-amqp/src/retry.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status