Minor, marked bugsnag ChannelHandler to @Sharable

This commit is contained in:
andsel
2017-06-25 12:33:10 +02:00
parent 3ff3d44d35
commit ae9c6c7a48
3 changed files with 4 additions and 2 deletions
@@ -17,11 +17,13 @@ package io.moquette.server.netty;
import com.bugsnag.Bugsnag;
import io.moquette.server.config.IConfig;
import io.netty.channel.ChannelHandler.Sharable;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import static io.moquette.BrokerConstants.BUGSNAG_TOKEN_PROPERTY_NAME;
@Sharable
public class BugSnagErrorsHandler extends ChannelInboundHandlerAdapter {
private Bugsnag bugsnag;