public static int getMessageSyncInterval() {
    return messageSyncInterval;
  }
Used for testing purposes only

@return the frequency (in seconds) at which a message will be sent by the primary to all the
        secondary nodes to remove the events which have already been dispatched from the queue.
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java