mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
add todo triggers
This commit is contained in:
parent
99d2fe55e1
commit
41b0a02899
1 changed files with 6 additions and 2 deletions
|
|
@ -191,7 +191,9 @@ async fn main() -> Result<()> {
|
||||||
log::debug!(
|
log::debug!(
|
||||||
"skip awaiting the completion of preload `{i}` data (`{e}`)"
|
"skip awaiting the completion of preload `{i}` data (`{e}`)"
|
||||||
);
|
);
|
||||||
if !config.enable_upload {
|
if config.enable_upload {
|
||||||
|
todo!()
|
||||||
|
} else {
|
||||||
session
|
session
|
||||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
@ -206,7 +208,9 @@ async fn main() -> Result<()> {
|
||||||
keep_files.len()
|
keep_files.len()
|
||||||
);
|
);
|
||||||
preload.commit(&i, bytes, Some(keep_files))?;
|
preload.commit(&i, bytes, Some(keep_files))?;
|
||||||
if !config.enable_upload {
|
if config.enable_upload {
|
||||||
|
todo!()
|
||||||
|
} else {
|
||||||
session
|
session
|
||||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||||
.await?
|
.await?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue