3 ms·
Job rows could have an indexed column state so you just query for the rows with state "not-started". This way you won't need to skip over the long jobs that ar
by cercaapps 2y ago
Job rows could have an indexed column state so you just query for the rows with state "not-started".
This way you won't need to skip over the long jobs that are in state "processing".
- normie3000 2y agoI'm not 100% confident, but this sounds like it would have unexpected effects.