[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] [Created] (AMQ-4007) BrokerService TempUsage and StoreUsage Default Values Are Incorrect
From:       "Lew Dawson (JIRA)" <jira () apache ! org>
Date:       2012-08-30 16:18:07
Message-ID: 1720599492.17031.1346343487871.JavaMail.jiratomcat () arcas
[Download RAW message or body]

Lew Dawson created AMQ-4007:
-------------------------------

             Summary: BrokerService TempUsage and StoreUsage Default Values Are \
Incorrect  Key: AMQ-4007
                 URL: https://issues.apache.org/jira/browse/AMQ-4007
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.6.0
            Reporter: Lew Dawson
            Priority: Trivial


Looking at the code in BrokerService.getSystemUsage(), the limits set for the \
TempUsage (50GB) and the StoreUsage (100GB) are incorrectly calculated:

{code}
systemUsage.getTempUsage().setLimit(1024L * 1024 * 1000 * 50); // 50 GB               \
 systemUsage.getStoreUsage().setLimit(1024L * 1024 * 1000 * 100); // 100 GB
{code}

They should be:

{code}
systemUsage.getTempUsage().setLimit(1024L * 1024 * 1024 * 50); // 50 GB               \
 systemUsage.getStoreUsage().setLimit(1024L * 1024 * 1024 * 100); // 100 GB
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic