forked from lightningnetwork/lnd
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wtclient: add backoff in negotiation when createSession() fails
Currently if the tower hangs up during session negotiation there is no backoff applied. We add backoff here to avoid excessive CPU/network utilization during unexpected failures.
- Loading branch information
1 parent
56e38e5
commit 5cc0a05
Showing
1 changed file
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters