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

Feat | Job | Store progress with the whole job data #339

Merged
merged 1 commit into from Apr 29, 2021

Conversation

lbarthon
Copy link
Contributor

@lbarthon lbarthon commented Dec 10, 2020

Problem

We have multiple API instances adding bee-queue jobs.
Our workers call Job#reportProgress for long term jobs.
Depending on the API intance handling the call, it might not have the progress update.

Solution

I added the progress to the stored job data, same place as the status.
It ensures that the progress is saved properly, and that it is not 0 on a consumer recovering the job from redis.

I hope that it's mergable for you, and if so, I would like to know when a release with this feature is possible, so I know if a fork is needed for my project.

@lbarthon lbarthon changed the title Improve | Job | Store progress with the whole job data Feat | Job | Store progress with the whole job data Dec 10, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 3074850 on lbarthon:master into 8248bc1 on bee-queue:master.

@lbarthon
Copy link
Contributor Author

Bump @skeggse

@lbarthon
Copy link
Contributor Author

Any update on this PR ? 😢

@bradvogel bradvogel requested a review from skeggse April 27, 2021 20:49
@skeggse skeggse merged commit 6df8b5a into bee-queue:master Apr 29, 2021
beequeueci pushed a commit that referenced this pull request May 19, 2021
## [1.4.0](v1.3.1...v1.4.0) (2021-05-19)

### Features

* **job:** store progress with the whole job data ([#339](#339)) ([6df8b5a](6df8b5a))

### Bug Fixes

* typo fix in README ([#412](#412)) ([850d1d1](850d1d1))
@beequeueci
Copy link
Collaborator

🎉 This PR is included in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants