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