Skip to content

HOTFIX: TypeError Cannot read properties of undefined (reading 'name') - #259

Open
giankaz wants to merge 1 commit into
ejhayes:mainfrom
giankaz:patch-1
Open

giankaz wants to merge 1 commit into
ejhayes:mainfrom
giankaz:patch-1

Conversation

@giankaz

@giankaz giankaz commented Jun 10, 2024

Copy link
Copy Markdown

Summary

When the volume of the queues exceeds approximately 100,000 jobs, the application encounters an issue where it cannot find the names of the jobs. This results in the application crashing.

This hotfix prevent the application from crashing for this specific reason.

Error:

TypeError: Cannot read properties of undefined (reading 'name')
at QueueEvents. (/src/bull/bullmq-metrics.factory.ts:252:37)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
error bull-monitor 7 - 2024-06-10 15:27:36 [Daemon] bull-monitor process terminated with exit code: 1 +14803ms

Evidence

image

…at QueueEvents.

TypeError: Cannot read properties of undefined (reading 'name')
    at QueueEvents.<anonymous> (/src/bull/bullmq-metrics.factory.ts:252:37)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant