gemmellr commented on code in PR #5493:
URL: https://github.com/apache/activemq-artemis/pull/5493#discussion_r1955913777


##########
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/federation/AMQPFederationConfiguration.java:
##########
@@ -76,12 +77,20 @@ public final class AMQPFederationConfiguration {
    public static final boolean DEFAULT_IGNNORE_QUEUE_CONSUMER_PRIORITIES = 
false;
 
    /**
-    * Default timeout (milliseconds) applied to federation receivers that are 
being closed due to removal
+    * Default timeout (milliseconds) applied to federation receivers that are 
being stopped due to removal
     * of local demand and need to drain link credit and process any in-flight 
deliveries before closure.
     * If the timeout elapses before the link has quiesced the link is forcibly 
closed.
     */
    public static final int DEFAULT_RECEIVER_QUIESCE_TIMEOUT = 60_000;
 
+   /**
+    * Default timeout (milliseconds) applied to federation receivers that have 
been stopped due to lack of
+    * local demand. The close delay prevent a link from detaching in cases 
where demand drops and returns
+    * in quick succession allowing for faster recovery. The idle timeout kicks 
in once the link has completed
+    * its drain of outstanding credit.
+    */
+   public static final int DEFAULT_RECEIVER_IDLE_TIMEOUT = 60_000;

Review Comment:
   The addition looks good, and the new defaults seem a better fit



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org
For additional commands, e-mail: gitbox-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to