Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 44 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@
"Xtorrent",
"Xunlei",
"xxxxxxxxxxxxxxxxxxxxd",
"yyyyyyyyyyyyyyyyyyyyd"
"yyyyyyyyyyyyyyyyyyyyd",
"nvCFlJCq7fz7Qx6KoKTDiMZvns8l5Kw7"
],
"enableFiletypes": [
"dockerfile",
Expand Down
4 changes: 1 addition & 3 deletions src/core/services/torrent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ pub async fn get_torrent_info(tracker: Arc<Tracker>, info_hash: &InfoHash) -> Op

let torrent_entry_option = db.get(info_hash);

let Some(torrent_entry) = torrent_entry_option else {
return None;
};
let torrent_entry = torrent_entry_option?;

let (seeders, completed, leechers) = torrent_entry.get_stats();

Expand Down