Skip to content

Instantly share code, notes, and snippets.

@JamieAP
Created February 16, 2016 13:11
Show Gist options
  • Save JamieAP/fc88328a57003a819350 to your computer and use it in GitHub Desktop.
Save JamieAP/fc88328a57003a819350 to your computer and use it in GitHub Desktop.
NioEventLoopGroup acceptorGroup = new NioEventLoopGroup(2); // 2 threads
NioEventLoopGroup handlerGroup = new NioEventLoopGroup(10); // 10 threads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment