kohabug 2048 - improve zebraqueue_daemon performance
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 20 May 2008 15:48:00 +0000 (10:48 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 20 May 2008 17:55:04 +0000 (12:55 -0500)
commite3f473187e69887416bc6e08137e7787fc3de128
tree79d53ddbfc4037acbba5b30056621d3bc0382c43
parent709619013d78604f45ca590809e4ebc41e66d693
kohabug 2048 - improve zebraqueue_daemon performance

[1] Increase sleep interval between checks of zebraqueue
    from 0.01 seconds to 0.50.
[2] Batch up commits of changes to the zebraqueue table
[3] If the same record appears multiple times in the queue,
    handle only once.
[4] Properly postpone failures to process record deletes to
    avoid spinning.
[5] Correct how queue entries are marked done - avoid skipping
    an authority record update, e.g., if it has the same
    ID number as a bib that was updated.
[6] Added a FIXME about a possible later enhancement to
    batch up updates so that Zebra isn't told to commit
    after each record.

No documentation changes.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
misc/bin/zebraqueue_daemon.pl