clamp duration to infinity when all rates are very low
...so that the memory monitor excludes the queue from avg duration
calculations, which would otherwise get massively skewed.
merge bug26049 into default