-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
185 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
### `RetryHandshake` now has built-in logging | ||
|
||
`dhtproto.client.legacy.internal.helper.RetryHandshake` | ||
|
||
The helper logs the following events: | ||
* Each time it starts a handshake. (info) | ||
* When the handshake succeeds for a node. (info) | ||
* When the handshake succeeds for all nodes. (info) | ||
* When the handshake finished but did not succeed for all nodes and will be | ||
retried. (info) | ||
* Whenever the handshake notifier is called. (trace) | ||
|
||
Applications that already use this helper may have implemented their own logging | ||
behaviour in the handshake callbacks. It is recommended that this logging is | ||
removed. You should be able to rely on the standard logging output of | ||
`RetryHandshake` now. | ||
|
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
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
Oops, something went wrong.