mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3316 - Memory leak in ConnectionStateTracker with MessagePull objects. resolve typo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1102023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a1c19c5e49
commit
e8d45cb2d0
|
@ -78,7 +78,7 @@ public class ConnectionStateTracker extends CommandVisitorAdapter {
|
|||
if (result) {
|
||||
if (eldest.getValue() instanceof Message) {
|
||||
currentCacheSize -= ((Message)eldest.getValue()).getSize();
|
||||
} else if (eldest.getValue() instance of MessagePull) {
|
||||
} else if (eldest.getValue() instanceof MessagePull) {
|
||||
currentCacheSize -= 400;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue