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

Ensure job progress is displayed (compatibility with latest version of bull) #96

Merged
merged 1 commit into from
May 14, 2018
Merged

Ensure job progress is displayed (compatibility with latest version of bull) #96

merged 1 commit into from
May 14, 2018

Conversation

mattbrictson
Copy link
Contributor

As of bull 3.4.2 (and probably earlier), the progress of a job is provided in progress, not _progress. This commit updates the view template to match.

This fixes a problem where the progress of any bull job would always appear in arena as "0%". Now the correct progress is shown.

See: https://github.com/OptimalBits/bull/blob/v3.4.2/lib/job.js#L129

As of bull 3.4.2 (and probably earlier), the progress of a job is stored
in `progress`, not `_progress`. This commit updates the view template to
match.

This fixes a problem where the progress of any bull job would always
appear in arena as "0%". Now the correct progress is shown.
@bradvogel bradvogel merged commit 28e8d9b into bee-queue:master May 14, 2018
@bradvogel
Copy link
Contributor

Published as bull-arena@2.4.3 - thanks!

@mattbrictson
Copy link
Contributor Author

🙌

@mattbrictson mattbrictson deleted the bull-progress branch May 15, 2018 16:35
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.

2 participants