Matti Paksula
Matti Paksula
oh cool, can you explain this a bit more: >Note: In case for HA controllers, you must also have pre-defined sa.{key,pub} so that all controllers use same key for SA...
^-- works with go 1.16, not with go 1.17
For example I did something like this for my experimental nats.io async client: https://github.com/matti/async-nats/blob/master/lib/async/nats/client.rb#L128-L137
yeah so my first suggestion was a brainfart. but what about something like: ``` def call(*arguments) done = Async::Notification.new Async.run do |t| @pool.acquire do |connection| connection.write_request(arguments) done.signal connection.read_response end return...
although I'm not sure why the client should return a notification when you almost always want to get the response so you end up `.wait`ing anyway?
@huba "With this suggestion we end up with an Async::Stop being raised." - why? I tried to write a test for this and I just get the actual exception, not...
"like a change to Net::HTTP or ``" what do you mean by `` change?
have to try it next time. this happens once a week or so.