cantino/huginn

View on GitHub
app/assets/javascripts/components/worker-checker.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function check has 76 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var check = function () {
      const query = sinceId != null ? "?since_id=" + sinceId : "";
      return $.getJSON("/worker_status" + query, function (json) {
        for (var method of ["pending", "awaiting_retry", "recent_failures"]) {
          var count = json[method];
Severity: Major
Found in app/assets/javascripts/components/worker-checker.js - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status