activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lew Dawson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-4007) BrokerService TempUsage and StoreUsage Default Values Are Incorrect
Date Thu, 30 Aug 2012 16:18:07 GMT
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

Mime
View raw message