Show what the threshold is being increased to

Change-Id: I2182ca88126d636970885fe4403779a879f32aa7
This commit is contained in:
Joshua Harlow 2014-12-01 21:14:23 -08:00
parent 0650bde775
commit c7d99bf28f
1 changed files with 3 additions and 2 deletions

View File

@ -172,8 +172,9 @@ class ReplyWaiters(object):
self._queues[msg_id] = queue
if len(self._queues) > self._wrn_threshold:
LOG.warn('Number of call queues is greater than warning '
'threshold: %d. There could be a leak.',
self._wrn_threshold)
'threshold: %d. There could be a leak. Increasing'
' threshold to: %d', self._wrn_threshold,
self._wrn_threshold * 2)
self._wrn_threshold *= 2
def remove(self, msg_id):