You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/20 19:56:14 UTC
[jira] [Closed] (GEODE-4001) Default value for batch-time-interval
of async event queue mismatch between docs and implementation
[ https://issues.apache.org/jira/browse/GEODE-4001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker closed GEODE-4001.
--------------------------------
> Default value for batch-time-interval of async event queue mismatch between docs and implementation
> ---------------------------------------------------------------------------------------------------
>
> Key: GEODE-4001
> URL: https://issues.apache.org/jira/browse/GEODE-4001
> Project: Geode
> Issue Type: Bug
> Components: client queues, docs
> Reporter: Jinmei Liao
> Assignee: Karen Smoler Miller
> Priority: Major
>
> The document says the the batch-time-interval of the "create async-event-queue" is 5ms, but testing shows the value of this attribute of the created async event queue is 1000.
> Found these in the code, not sure which one should be good:
> In GatewaySender.java:
> /**
> * The default batch time interval in milliseconds
> */
> public static final int DEFAULT_BATCH_TIME_INTERVAL = 1000;
> In AsyncEventQueue.java:
> /**
> * Represents the maximum time interval that can elapse before a batch is sent from
> * <code>AsyncEventQueue</code>. Default batchTimeInterval is 5 ms.
> *
> * @return int
> */
> public int getBatchTimeInterval();
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)