Changed log to tracing
This commit is contained in:
parent
db12bba7a6
commit
48a14823fa
26 changed files with 321 additions and 689 deletions
3
TODO.md
3
TODO.md
|
|
@ -1,6 +1,9 @@
|
|||
- [ ] when we have the whole torrent, there's no point talking to peers that also have the whole torrent and keep reconnecting to them.
|
||||
- [ ] per-file stats
|
||||
- [ ] per-peer stats
|
||||
- [ ] use some concurrent hashmap e.g. flurry or dashmap
|
||||
- [x] tracing instead of logging. Debugging peers: RUST_LOG=[{peer=.*}]=debug
|
||||
test-log for tests
|
||||
|
||||
someday:
|
||||
- [ ] cancellation from the client-side for the lib (i.e. stop the torrent manager)
|
||||
Loading…
Add table
Add a link
Reference in a new issue