mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 09:05:33 +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!(
|
||||
"skip awaiting the completion of preload `{i}` data (`{e}`)"
|
||||
);
|
||||
if !config.enable_upload {
|
||||
if config.enable_upload {
|
||||
todo!()
|
||||
} else {
|
||||
session
|
||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||
.await?;
|
||||
|
|
@ -206,7 +208,9 @@ async fn main() -> Result<()> {
|
|||
keep_files.len()
|
||||
);
|
||||
preload.commit(&i, bytes, Some(keep_files))?;
|
||||
if !config.enable_upload {
|
||||
if config.enable_upload {
|
||||
todo!()
|
||||
} else {
|
||||
session
|
||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||
.await?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue