10000 Update Cargo Deps by da2ce7 · Pull Request #562 · torrust/torrust-tracker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update Cargo Deps #562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 31, 2023
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
0