Skip to content

Rpc deadlines

David Vorick requested to merge rpc-deadlines into master

Add deadlines to RPCs that don't have them.

We should probably have a safety deadline in the gateway just to be sure, that will automatically put a 20 minute deadline on every conn or something like that.

I'm guessing that this PR will fix the 'too many open sockets' problems that we are seeing, as well as some of the absurd amounts of goroutines we are seeing, as well as help clean up some of the memory usage.

Merge request reports