https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654

--- Comment #9 from David Cook <dc...@prosentient.com.au> ---
After comparing the "background_jobs" table and the "minion_jobs" table, it
seems like we've got a fairly similar schema.

https://metacpan.org/release/SRI/Minion-10.25/source/lib/Minion/Backend/resources/migrations/pg.sql

I think the additions it has are:
- attempts (number of retries allowed)
- delayed (for scheduling jobs in the future although API is based off seconds
from now)
- notes (arbitrary metadata - progress is a note key that uses % values)
- parents
- priority 
- retried (time it was last retried)
- retries (number of retries attempted)
- expires
- lax (for managing parent/child dependencies)

One difference is that we use "data" whereas "minion" has two different columns
for task arguments and task result, which makes sense to me...
- args
- result

Another difference is that we track the borrowernumber. I suppose that could
arguably be part of "args", but having it in its own column where it could be
indexed makes jobs easier to manage on a per-user basis.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to