lyra
lyra copied to clipboard
Get rid of static executor service
See https://github.com/jhalterman/lyra/issues/80#issuecomment-334460764
ChannelHandler
also uses this executor,
But I think the problem can be solved when close/abort
are invoked.
If they are invoked from ConnectionHandler
class, then the executor should be stopped.
The static executor service scopes all the connections created in the process. Stopping it for a connection would make the recovery impossible for all the other connections created in the process.