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

ARTEMIS-1098 Improve flow control while streaming large messages #1190

Closed
wants to merge 1 commit into from

Conversation

franz1981
Copy link
Contributor

No description provided.

final long endFlowControl = System.nanoTime();
final long elapsedFlowControl = endFlowControl - startFlowControl;
final long elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedFlowControl);
logger.warn("try to write " + expectedEncodeSize + " bytes after blocked " + elapsedMillis + " ms on a not writable connection: [" + connection.getID() + "]");
Copy link
Contributor

Choose a reason for hiding this comment

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

last thing Missing... define method through Logger please?

Copy link
Contributor

Choose a reason for hiding this comment

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

@franz1981 instead of asking you to make a change, I am amending a small change on logger here with your PR.

Beware if you pickup this change towards 1.x as I know you will do it.

@asfgit asfgit closed this in 359592c Apr 10, 2017
@franz1981 franz1981 deleted the streaming_large_msg branch October 27, 2017 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants