Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make credit flow state transition interval 1s instead of 5s #150

Merged
merged 1 commit into from
May 11, 2015

Conversation

michaelklishin
Copy link
Member

Management UI and HTTP API currently report connections and channels
as in flow if they've been in flow for the last 5 seconds. That
can confuse the user with inter-node flow control, making them
believe the flow is permanent (it is not: the actual state
toggles many times a second).

This reduces the interval to 1s, which seems more reasonable and
accurate (in a way).

Fixes #138.

@michaelklishin michaelklishin added this to the n/a milestone May 7, 2015
%% if current process was blocked by credit flow
%% in the last STATE_CHANGE_INTERVAL millisecond,
%% state/0 will report it as "in flow".
-define(STATE_CHANGE_INTERVAL, 100000).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are missing a zero.

Management UI and HTTP API currently report connections and channels
as in flow if they've been in flow for the last 5 seconds. That
can confuse the user with inter-node flow control, making them
believe the flow is permanent (it is not: the actual state
toggles many times a second).

This reduces the interval to 1s, which seems more reasonable and
accurate (in a way).

Fixes #138.
@dumbbell dumbbell force-pushed the rabbitmq-server-138 branch from 5fae66f to 7710829 Compare May 7, 2015 14:58
@dumbbell dumbbell merged commit 7710829 into stable May 11, 2015
@dumbbell dumbbell deleted the rabbitmq-server-138 branch January 2, 2018 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants