activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpelisse <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #2312: ARTEMIS-2085 - Improve validation of MD...
Date Thu, 11 Oct 2018 14:02:39 GMT
Github user rpelisse commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2312#discussion_r224459911
  
    --- Diff: artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
---
    @@ -603,7 +596,11 @@ public void setMaxSession(final Integer value) {
              logger.trace("setMaxSession(" + value + ")");
           }
     
    -      maxSession = value;
    +      if ( value < 1 ) {
    +         logger.warn("Invalid number of session (negative):" + value + ", defaulting
to 1.");
    --- End diff --
    
    Quite sorry about that. I forgot about those. I'll fix it up right away.


---

Mime
View raw message