What is the maximum id number of kue jobs?
This is more of a question, I use kue very extensively, in 3 weeks I have already reached jobs with ID number > 4,000,000 and I'm just getting started. How can I reset the id incremented number? Should I worry that a certain number gets exceeded? Can I set the job ID using guid?
ids are javascript numbers incremented using Redis' INCR with specified limitations in Redis docs.
You don't need to worry, it has a large margin until it resets.
Can I set the job ID using guid?
Currently you can't manually specify job ids.
as long as I don't have to worry about any limitation I won't be needing guids cheers!
Make an indication of your id when creating a task and collecting an incremental value