mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-13 12:33:04 +02:00
In this commit, we fix a few issues with the streaming handling: 1. If it got an error on Recv() it would just spin for ever, generating an endless stream of spammy logs. 2. It never listened on the Done() context channel for the stream. So if the `lnd` had actually hung up, it wouldn't detect that and would just keep spinning. To make things more graceful, we also add back off when we try to reconnect. |
||
|---|---|---|
| .. | ||
| batch.go | ||
| log.go | ||
| manager.go | ||
| manager_test.go | ||