Skip to content

Commit

Permalink
Set senderThreadReference in GelfHttpTransport
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd committed Oct 9, 2019
1 parent 99e2f75 commit 56bf286
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public GelfHttpTransport(GelfConfiguration config) {
protected void createBootstrap(final EventLoopGroup workerGroup) {
final Bootstrap bootstrap = new Bootstrap();
final GelfSenderThread senderThread = new GelfSenderThread(queue, config.getMaxInflightSends());
senderThreadReference.set(senderThread);

bootstrap.group(workerGroup)
.channel(NioSocketChannel.class)
Expand Down

0 comments on commit 56bf286

Please sign in to comment.