summaryrefslogtreecommitdiff
path: root/LICENSE-MPL-RabbitMQ
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-11-17 13:10:52 +0000
committerMatthew Sackman <matthew@lshift.net>2009-11-17 13:10:52 +0000
commit81924a0fd9a04d42e76bfceb78b860bacbe3778b (patch)
treeee559daa8daec023756a676095e76c9e6e2febf4 /LICENSE-MPL-RabbitMQ
parent79919ede08cc81cc7f1ea4bf9b0b4b4314069532 (diff)
downloadrabbitmq-server-git-81924a0fd9a04d42e76bfceb78b860bacbe3778b.tar.gz
In the absense of an egress rate, use ingress rate instead. Also, if there's been no fetches/publishes since the last measurement, use the previous measurement, appropriately scaled. This means that the rates will gently fall off and approach zero in the absence of activity, which is preferable to them suddenly jumping to zero. Also, the average is now the sum of the fetches/publishes in the last two segments, over the time since the start of the last segment (i.e. it's better than before, which was just a straight /2, which would be wrong if the segments are different sizes, which they could be, given a very busy queue).
Diffstat (limited to 'LICENSE-MPL-RabbitMQ')
0 files changed, 0 insertions, 0 deletions