Skip to content

Commit

Permalink
ISPN-5038 Remote package refactor
Browse files Browse the repository at this point in the history
* fixed performance issue (put missing dont bundle flag)
  • Loading branch information
pruivo authored and danberindei committed Dec 16, 2014
1 parent 06cbd55 commit 6925071
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ protected static Message constructMessage(Buffer buf, Address recipient,Response
msg.setBuffer(buf);
encodeDeliverMode(msg, deliverOrder);
//some issues with the new bundler. put back the DONT_BUNDLE flag.
if (mode != ResponseMode.GET_NONE) msg.setFlag(Message.Flag.DONT_BUNDLE);
if (deliverOrder == DeliverOrder.NONE || mode != ResponseMode.GET_NONE) msg.setFlag(Message.Flag.DONT_BUNDLE);
if (rsvp) msg.setFlag(Message.Flag.RSVP);

if (recipient != null) msg.setDest(recipient);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void start() {
Map<Address, Response> responseMap = null;
try {
responseMap = transport.invokeRemotely(Collections.singleton(coordinator),
command, ResponseMode.SYNCHRONOUS, getGlobalTimeout(), true, null, false, false);
command, ResponseMode.SYNCHRONOUS, getGlobalTimeout(), null, DeliverOrder.NONE, false);
Response response = responseMap.get(coordinator);
if (response instanceof SuccessfulResponse) {
isRebalancingEnabled = ((Boolean) ((SuccessfulResponse) response).getResponseValue());
Expand Down

1 comment on commit 6925071

@infinispanrelease
Copy link

Choose a reason for hiding this comment

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

TeamCity Infinispan :: Pull requests monitor Build 8003 outcome was FAILURE
Summary: Skipping default branch Build time: 00:00:19

Please sign in to comment.