activemq-artemis git commit: ARTEMIS-2062 Only attempt to refill credit when needed

2018-08-30 Thread clebertsuconic
Repository: activemq-artemis Updated Branches: refs/heads/2.6.x d58415873 -> 2029f897c ARTEMIS-2062 Only attempt to refill credit when needed Avoid firing the offerProducerCredit code when we know that the credit isnt low enough that a refill is needed, which avoids lock contention and

[1/2] activemq-artemis git commit: ARTEMIS-2062 Only attempt to refill credit when needed

2018-08-29 Thread robbie
Repository: activemq-artemis Updated Branches: refs/heads/master 09f9159ea -> 4109ffc0c ARTEMIS-2062 Only attempt to refill credit when needed Avoid firing the offerProducerCredit code when we know that the credit isnt low enough that a refill is needed, which avoids lock contention and