abrandoned / protobuf-nats

MIT License
8 stars 4 forks source link

thread safe connect, more nats callbacks and shutdown timeout #9

Closed film42 closed 7 years ago

film42 commented 7 years ago

It's important we only create one connection because all is subs are tied to that client.

This also makes the shutdown timeout after 60 seconds to prevent servers from getting locked up when work doesn't complete in a timely manner.

This also adds some log lines because it's nice to know what's going on during shutdown.

cc @mmmries @quixoten @abrandoned