sockethub/sockethub

View on GitHub
packages/data-layer/src/job-queue.ts

Summary

Maintainability
A
0 mins
Test Coverage

Function verifyJobQueue has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

export async function verifyJobQueue(config: RedisConfig): Promise<void> {
    const log = debug("sockethub:data-layer:queue");
    return new Promise((resolve, reject) => {
        const worker = new Worker(
            "connectiontest",
Severity: Minor
Found in packages/data-layer/src/job-queue.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status