Skip to content

Job Status Automatically Changing to Completed #556

Answered by victorwhite5
victorwhite5 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello! I've identified the issue, and it was actually my mistake 😅.

I was passing the following callback:

import { Inject, Injectable, OnModuleInit } from '@nestjs/common';
import { UploadUgsPopulationJobName, UploadUgsPopulationPayload } from './job-payloads/save-ugs-population.job-payload';
import { EVENT_STORE, EventStorePort, QUEUE_SERVICE, QueueServicePort } from '@common-api/core';
import { LOGGER_SERVICE, LoggerPort } from '@common-api/logger-config';

@Injectable()
export class SaveUgsPopulationPgWorker implements OnModuleInit {
    constructor(
        @Inject(LOGGER_SERVICE)
        private readonly logger: LoggerPort,

        @Inject(QUEUE_SERVICE)
        private readonly que…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by timgit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant