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
|
|
@ -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