atsid/ultra-throttle

View on GitHub
src/model/definition.js

Summary

Maintainability
A
1 hr
Test Coverage

Function schema has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function schema(config) {
    debug(`throttles will expire with ttl ${config.ttl}`);
    return {
        name: {
            type: String,
Severity: Minor
Found in src/model/definition.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status