lightningj-org/lightningj

feature(lnd):terminate the grpc call

Opened this issue · 1 comments

Can there be any provision for terminating the grpc call, if takes a variable amount of time??

So for example if grpc takes more than 10 seconds we terminate the call, and the operation should be atomic
So it shouldn't be the case where, if we terminate the operation, the server processes the request!

Few api's such as sendPaymentV2 takes alot of time to complete, so can we have this provision?

@herrvendil @theborakompanioni @pvendil

I am not sure (and I am not a maintainer of this project), but I think this is something the client cannot guarantee. It's best if you ask in the LND repo.