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

    https://github.com/apache/thrift/pull/395#discussion_r46752076
  
    --- Diff: lib/nodejs/lib/thrift/connection.js ---
    @@ -182,10 +170,18 @@ Connection.prototype.initialize_retry_vars = function 
() {
       this.retry_timer = null;
       this.retry_totaltime = 0;
       this.retry_delay = 150;
    -  this.retry_backoff = 1.7;
    +  this.retry_backoff = 1.5;
       this.attempts = 0;
     };
     
    +Connection.prototype.flushQueue = function () {
    +  var current_queue = this.offline_queue.slice();
    --- End diff --
    
    I don't think we need a copy here since we're throwing away the old one 
right away.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to