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

edit/update job data while processsing #1217

Open
thbl opened this issue Feb 17, 2019 · 1 comment
Open

edit/update job data while processsing #1217

thbl opened this issue Feb 17, 2019 · 1 comment

Comments

@thbl
Copy link

thbl commented Feb 17, 2019

Hi
Is there a way to update job data while processsing ?
-tried a few methods i found on google, but they dont seam to work any more

@DarkAxi0m
Copy link

DarkAxi0m commented Apr 8, 2020

Did you ever find a solution to this?

Edit found i had to call save after.

 que.process(how, (job, done)=>{
  job.data.more= stuff;
  job.save();
  done();
});

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

No branches or pull requests

2 participants