Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

giankaz
Copy link

@giankaz giankaz commented Jun 10, 2024

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