kue icon indicating copy to clipboard operation
kue copied to clipboard

What is the maximum id number of kue jobs?

Open fsfarah opened this issue 10 years ago • 3 comments

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?

fsfarah avatar Nov 14 '16 13:11 fsfarah

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.

behrad avatar Nov 14 '16 13:11 behrad

as long as I don't have to worry about any limitation I won't be needing guids cheers!

fsfarah avatar Nov 14 '16 13:11 fsfarah

Make an indication of your id when creating a task and collecting an incremental value

intech avatar Apr 26 '17 10:04 intech