Skip to content

Commit

Permalink
examples: add missing annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
steverao authored and creamsoup committed Oct 30, 2019
1 parent d045292 commit c22e042
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public StreamObserver<HelloRequest> sayHelloStreaming(final StreamObserver<Hello
// from being processed by the incoming StreamObserver. The onReadyHandler must return in a timely manor or else
// message processing throughput will suffer.
serverCallStreamObserver.setOnReadyHandler(new Runnable() {
@Override
public void run() {
if (serverCallStreamObserver.isReady() && wasReady.compareAndSet(false, true)) {
logger.info("READY");
Expand Down

0 comments on commit c22e042

Please sign in to comment.