~divmod-dev/divmod.org/mantissa-chat-1347

Viewing all changes in revision 1751.

  • Committer: exarkun
  • Date: 2006-07-25 16:32:51 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:7992
Merge local-processor-1338

Author: exarkun
Reviewer: glyph
Fixes #1338

This adds support for notifying axiom.batch.processor types of the
creation of new items which will require processing.  This feature
is used by Quotient's Message type to fix the local-style listeners
which are used to implement extracts and mailing list tagging.

The mechanism used is a new callback on Item, a method which is invoked
when an instance is first placed into a store.

The local-style batch processor no longer needs to be driven by a service
to poll for new items: it uses notification to only process items when
there are any which require processing.

The remote indexer upgrade tests have been cleaned up.  They now more
closely resemble the actual state encountered on a live system, letting
these tests pass with the batch processor changes.

The scheduler now includes a method for retrieving the times at which a
particular item is scheduled to run.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: