Skip to content

Commit

Permalink
SCB-164 reused const ACK to avoid recreate it every time
Browse files Browse the repository at this point in the history
Signed-off-by: seanyinx <sean.yin@huawei.com>
  • Loading branch information
seanyinx committed Jan 9, 2018
1 parent e7cf7e3 commit 88cebbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void onDisconnected(GrpcServiceConfig request, StreamObserver<GrpcAck> re
callback.disconnect();
}

responseObserver.onNext(GrpcAck.newBuilder().build());
responseObserver.onNext(ACK);
responseObserver.onCompleted();
}

Expand Down

0 comments on commit 88cebbd

Please sign in to comment.