git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis pull request #2401: ARTEMIS-1710 Allow management msgs to p...


Github user franz1981 commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2401#discussion_r229013120
  
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagingManagerImpl.java ---
    @@ -437,12 +449,27 @@ public void processReload() throws Exception {
           }
        }
     
    +   private boolean ignoreGlobalMaxSize(SimpleString address) {
    +      if (this.addressPrefixesIgnoringGlobalMaxSize == null) {
    +         return false;
    +      } else {
    +         //for a small number of prefixes to check we can use just a linear search too :)
    +         for (SimpleString prefixes : this.addressPrefixesIgnoringGlobalMaxSize) {
    --- End diff --
    
    ATM it will have an array of just 1 element


---