Skip to content

Send correct data to queue#215

Closed
pturley wants to merge 1 commit into
bee-queue:masterfrom
pturley:patch-1
Closed

Send correct data to queue#215
pturley wants to merge 1 commit into
bee-queue:masterfrom
pturley:patch-1

Conversation

@pturley
Copy link
Copy Markdown

@pturley pturley commented Apr 17, 2020

Setup:

"bull": "^3.13.0",
"bull-arena": "^2.8.1",

When retrying a completed job using the job data was being sent under the data key. This actually triggers the job with the correct data.

Copy link
Copy Markdown
Member

@skeggse skeggse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you expand on what this accomplishes? On how I can verify this fixes that problem? It seems odd to me that we'd be passing an array as the second parameter to Queue#add.

@pturley
Copy link
Copy Markdown
Author

pturley commented Aug 6, 2020

@skeggse The basic issue was that when I would click the retry job button the data for the job wasn't passed correctly into the new job that was created. Enough time has passed, so I dont have the example any more, but the issue was that I could not successfully retry jobs with data in the same format.

@skeggse
Copy link
Copy Markdown
Member

skeggse commented Aug 6, 2020

Got it. If you run into this again, feel free to re-open!

@skeggse skeggse closed this Aug 6, 2020
@skeggse
Copy link
Copy Markdown
Member

skeggse commented Aug 6, 2020

I also suspect this might have been fixed by #223.

@skeggse skeggse linked an issue Aug 6, 2020 that may be closed by this pull request
@pturley
Copy link
Copy Markdown
Author

pturley commented Aug 6, 2020

👍

@pturley pturley deleted the patch-1 branch August 6, 2020 17:42
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.

Unexpected behavior with manual retries from Delayed Queue

2 participants