mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
http_private: set announce request uploaded & downloaded
This commit is contained in:
parent
a93789128c
commit
82cad25fa8
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@ impl DbAnnounceRequest {
|
|||
info_hash: hex::encode(request.info_hash.0),
|
||||
peer_id: hex::encode(request.peer_id.0),
|
||||
event: request.event,
|
||||
uploaded: 0, // FIXME
|
||||
downloaded: 0, // FIXME
|
||||
uploaded: request.bytes_uploaded as u64,
|
||||
downloaded: request.bytes_downloaded as u64,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue