Skip to content

Commit

Permalink
Propagate backpressure correctly in MP REST Client SSE publisher #5425
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkec committed Sep 27, 2023
1 parent 8a63706 commit 99486b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class SseEventPublisher extends EventInput implements Publisher<InboundEv

this.executor = executor;
this.genericType = genericType;
this.publisher = new JerseyPublisher<>(executor::submit, JerseyPublisher.PublisherStrategy.BEST_EFFORT);
this.publisher = new JerseyPublisher<>(executor::submit, JerseyPublisher.PublisherStrategy.BLOCKING);
}

private static final Logger LOG = Logger.getLogger(SseEventPublisher.class.getName());
Expand Down

0 comments on commit 99486b9

Please sign in to comment.