sensu / sensu-transport

The Sensu transport abstraction library.
MIT License
14 stars 19 forks source link

Improve flow control connection/channel separatation #64

Closed portertech closed 5 years ago

portertech commented 5 years ago

Improve flow control connection/channel separation. Create two connections/channels, a primary and a secondary pair. Use primary for consumers and keepalive publishing. Use secondary for all other publishing (e.g results, transport handlers, etc). This pull-request also change the transport to wait for channel open before calling succeed().

Signed-off-by: Sean Porter portertech@gmail.com

portertech commented 5 years ago

Disregarding the JRuby build failure. Seeing a strange behaviour with the upstream EventMachine and one shot timers not existing.