#481: BibAuthorID: make daemon sleep/stop signal aware
-------------------------+------------------
Reporter: simko | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: v1.0
Component: BibAuthorID | Version:
Keywords: |
-------------------------+------------------
BibAuthorID daemon can run for a long time and it should be possible to
push urgent jobs during it runs (e.g. edited records, etc). This can be
easily achieved by plugging
`task_sleep_now_if_required()` for sleeping, and
`task_sleep_now_if_required(can_stop_too=True)` for stopping, into
BibAuthorID daemon code to the places where it is safe for a task to
sleep/stop its execution. (E.g. stop after a set of temporarily prepared
changes was flushed to DB, see BibIndex for inspiration.)
--
Ticket URL: <http://invenio-software.org/ticket/481>
Invenio <http://invenio-software.org>