Original post

I have a program that makes asynchronous rpc calls to many servers repeatedly. These servers might hang indefinitely. I can on creating more calls but what about the Done channels left hanging waiting for a response? How do I abort these calls after some timer tells me the time is up?

submitted by /u/SAOC_
[link] [comments]