albrow / jobs

A persistent and flexible background jobs library for go.
MIT License
499 stars 47 forks source link

Application can't start due to error which message is 'jobs: In scanJob: Could not find Type with name = %s' #40

Open fangjianwei opened 8 years ago

fangjianwei commented 8 years ago

FYI, How to fix this problem?

There has some job haven't execute while we restart the application. I think that may be redis callback application to run the job, but the memory hasn't the job object because of we restart. We only to clear the data that stored in redis to fix it, but i think this is not well.

I hope you can understand what i say, sorry for my poor english.

Best regards.

albrow commented 8 years ago

@fangjianwei I would like to help but I need more information from you. What steps did you take to produce this error? Can you share the relevant application code? Can you reproduce this error consistently?