Jinmei Liao created GEODE-4001:
----------------------------------

             Summary: 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
            Reporter: Jinmei Liao


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
(v6.4.14#64029)

Reply via email to