mirror of https://github.com/apache/activemq.git
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:
parent
c5788d24bc
commit
2ecb5eaa1b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue