I have a process that creates a new batch of jobs at a fixed interval (every minute) and I want to send them to kue for processing by another process.
Sometimes, the same job can be in different batches.
What happens if a job that was sent in a previous batch wasn't completed by the time it is sent again in a new batch ?
My understanding is the it will be treated as a new job and executed twice.
Is this correct, and is there a way to avoid this ?