You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using skip-take for jobs query, query returns skip-take for jobs of each state. For example, using a skip-take of 0-10 returns the first 10 completed jobs and the first 10 failed jobs.
This is the documented behavior of bullMQ's getJobs function. See Here
To Reproduce
Steps to reproduce the behavior:
Go to admin job queue
Show settled jobs
See unexpected behavior
Expected behavior
The query should return the 10 most recent jobs, regardless of state, or the query/admin ui should be changed to better display the behavior.
Environment (please complete the following information):
@vendure/core version: 1.9.3
Nodejs version: 16.19.1
Database (mysql/postgres etc): postgresql v14
The text was updated successfully, but these errors were encountered:
Yes, I've been aware of this, but I'm not quite sure about the best way to handle this. It might be that we need to drop down to directly using the ioredis APIs to get the data we need.
Describe the bug
When using skip-take for jobs query, query returns skip-take for jobs of each state. For example, using a skip-take of 0-10 returns the first 10 completed jobs and the first 10 failed jobs.
This is the documented behavior of bullMQ's getJobs function. See Here
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The query should return the 10 most recent jobs, regardless of state, or the query/admin ui should be changed to better display the behavior.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: