Don't delay flushes for now. Seems to cause more harm than good.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482845 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2013-05-15 13:58:25 +00:00
parent c5788d24bc
commit 2ecb5eaa1b
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ class DelayableUOW(val manager:DBManager) extends BaseRetained {
}
def completeAsap() = this.synchronized { disableDelay=true }
def delayable = !disableDelay && delayableActions>0 && manager.flushDelay>=0
def delayable = !disableDelay && delayableActions>0 && manager.flushDelay>0
def rm(msg:MessageId) = {
actions -= msg

View File

@ -168,7 +168,7 @@ class LevelDBStore extends LockableServiceSupport with BrokerServiceAware with P
@BeanProperty
var indexCacheSize: Long = 1024 * 1024 * 256L
@BeanProperty
var flushDelay = 1000*5
var flushDelay = 0
@BeanProperty
var asyncBufferSize = 1024*1024*4
@BeanProperty