diff options
| author | Matthew Sackman <matthew@lshift.net> | 2009-11-11 15:16:20 +0000 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2009-11-11 15:16:20 +0000 |
| commit | e942644287d7e96a3f5d455b98bc6857fb747124 (patch) | |
| tree | a4a53bdf530d7b4cd145f0b5b3450a37768ee917 /codegen.py | |
| parent | 862159f445f21fc128c5e93e746859b3c961ea8c (diff) | |
| download | rabbitmq-server-git-e942644287d7e96a3f5d455b98bc6857fb747124.tar.gz | |
Unhappy with the idea that the desired duration is affected immediately by new queues and queues dying, but the memory ratio, which reflects the amount of memory erlang has used, is updated periodically. This mix of up-to-date and stale information in the calculation of the desired duration alarms me. Thus store the desired duration in the state, and always report that. That is then update periodically, thus is only ever calculated using current values.
Diffstat (limited to 'codegen.py')
0 files changed, 0 insertions, 0 deletions
