Commit 3d446a93 authored by guus's avatar guus

Capping queue size (OF-77)

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11380 b35dd754-fafc-0310-a699-88a17e54d16e
parent 79a75392
......@@ -205,7 +205,7 @@ public class MultiUserChatServiceImpl implements Component, MultiUserChatService
/**
* Queue that holds the messages to log for the rooms that need to log their conversations.
*/
private Queue<ConversationLogEntry> logQueue = new LinkedBlockingQueue<ConversationLogEntry>();
private Queue<ConversationLogEntry> logQueue = new LinkedBlockingQueue<ConversationLogEntry>(100000);
/**
* Max number of hours that a persistent room may be empty before the service removes the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment