C-Otto / lnd-manageJ

MIT License
52 stars 11 forks source link

Bug: middleware: ack flood of gRPC requests #55

Closed C-Otto closed 2 years ago

C-Otto commented 2 years ago

Describe the bug "bos fees" issues a lot of gRPC requests, which need to be acked within 2 seconds. This doesn't always happen, presumably because lnd-manageJ doesn't have enough threads working on the requests.

To Reproduce Run bos fees --set-fee-rate 123 --to x a few times.

Expected behavior lnd-manageJ ACKs all gRPC requests in time.

C-Otto commented 2 years ago

I don't know how to fix this.

Workaround: increase the delay in .lnd/lnd.conf:

[rpcmiddleware]
rpcmiddleware.intercepttimeout=10s