Commit ff0cd5c5 authored by Armando Jagucki's avatar Armando Jagucki Committed by ajagucki

[CS-4030] The MUCTranscriptManager's flush period is now a system property...

[CS-4030] The MUCTranscriptManager's flush period is now a system property called 'clearspace.transcript.flush.period'. Reviewer: Gato

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10206 b35dd754-fafc-0310-a699-88a17e54d16e
parent 58f4f92c
......@@ -6,6 +6,7 @@ import org.jivesoftware.openfire.XMPPServer;
import org.jivesoftware.util.TaskEngine;
import org.jivesoftware.util.JiveConstants;
import org.jivesoftware.util.Log;
import org.jivesoftware.util.JiveGlobals;
import org.xmpp.packet.JID;
import org.xmpp.packet.Message;
import org.xmpp.packet.IQ;
......@@ -75,7 +76,8 @@ public class ClearspaceMUCTranscriptManager implements MUCEventListener {
private TimerTask transcriptUpdateTask;
private final int MAX_QUEUE_SIZE = 64;
private final long FLUSH_PERIOD = JiveConstants.MINUTE * 2;
private final long FLUSH_PERIOD =
JiveGlobals.getLongProperty("clearspace.transcript.flush.period", JiveConstants.MINUTE * 2);
private String csMucDomain;
private String csComponentAddress;
......
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