mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
use zero-copy has_torrent method
This commit is contained in:
parent
7afc7d8f90
commit
5edaf77a5a
2 changed files with 2 additions and 2 deletions
|
|
@ -24,5 +24,5 @@ yggtracker-redb = "0.1"
|
|||
|
||||
[patch.crates-io]
|
||||
# yggtracker-redb = { path = "../yggtracker-redb" }
|
||||
yggtracker-redb = { git = "https://github.com/YGGverse/yggtracker-redb.git", rev="e6cdd9c41df4a90c45bf3be2e605a2efb83585b7" }
|
||||
yggtracker-redb = { git = "https://github.com/YGGverse/yggtracker-redb.git", rev="94a82fcd96f96a9966810ffc881e73ef610944c4" }
|
||||
librqbit = { git = "https://github.com/ikatson/rqbit.git", rev="b580a9610ae7c6eaacd305a3905f7e2d3202ca69" }
|
||||
|
|
@ -98,7 +98,7 @@ async fn main() -> Result<()> {
|
|||
// convert to string once
|
||||
let i = i.to_string();
|
||||
// already indexed?
|
||||
if database.torrent(&i)?.is_some() {
|
||||
if database.has_torrent(&i)? {
|
||||
continue;
|
||||
}
|
||||
if config.debug {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue