Class MessageQueueUpdate

java.lang.Object
io.goobi.viewer.dao.update.MessageQueueUpdate
All Implemented Interfaces:
IModelUpdate

public class MessageQueueUpdate extends Object implements IModelUpdate
Adds an index on mq_messages.last_update_time to existing databases. Old finished messages are deleted by this column (see MessageQueueBean); without an index, every such deletion scans and locks the entire table, which with hundreds of thousands of messages blocked the message queue and every request that queued a task.