Tim Jones
Tim Jones
I'm not against this idea. It does seem like it requires quite a bit of work to introduce a queue state and update all APIs and worker interactions. You'd basically...
I would prefer to not do any data movements, since this operation could be long-running based on the queue size.
I think wildcards will make their way back in to pg-boss in the not too distant future. There were changes in v10 that prevented this, but starting in v11, there...
@MarZab I like your idea regarding multiple schedules, but the original question is about "dynamic" queues
I don't mind docs improvements. They are a work in progress, but I'd prefer this is deferred until after v11 is merged, since this would invalidate some of the changes
It just took 8 months, that's all ;)
As long as it's not a unique index, pg-boss shouldn't be affected by new indexes, other than the typical performance tradeoffs.
I added a comment to the PR.
I will try and address this before v11 goes out. I just fixed the issue regarding different keys, but I haven't yet addressed the issue of batches with the same...
I just pushed a fix for this. For batch sizes > 1, I added a window function so it will only pull 1 job per singleton key.