#869: Avoid bibtask runtime drifting
--------------------------+--------------------
Reporter: skaplun | Owner:
Type: enhancement | Status: closed
Priority: major | Milestone:
Component: BibSched | Version:
Resolution: duplicate | Keywords:
--------------------------+--------------------
Comment (by simko):
The main use case in both tickets seems the same: to run harvesting at
04:00 sharp. The ticket:794 solves this use case perfectly, since it
basically says that we have a new task type ("fixed time task") that is
safe to run at any given sharp time, no matter what the status of the
queue is. So we don't allow any drifts there.
As for the other periodical tasks, I think we can safely keep the meaning
of sleeptime interval to be the time interval between two task runs,
whenever they ended, drift included. The drift does not really matter for
bibindex and friends; everyone wants records to be indexed as fast as
possible. (Ideally, with faster, better, slimmer task algorithms and
parallel task execution, we could set internal sleeping time of
bibindex/bibrank tasks to 15 seconds or thereabouts, so that Invenio
administrators would not even have to think about setting it up.)
--
Ticket URL: <http://invenio-software.org/ticket/869#comment:4>
Invenio <http://invenio-software.org>