mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 09:05:33 +00:00
make sure torrent was added in paused state to continue
This commit is contained in:
parent
885d0ba5c1
commit
0332ec0788
1 changed files with 1 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ async fn main() -> Result<()> {
|
||||||
{
|
{
|
||||||
Ok(r) => match r {
|
Ok(r) => match r {
|
||||||
Ok(AddTorrentResponse::Added(id, mt)) => {
|
Ok(AddTorrentResponse::Added(id, mt)) => {
|
||||||
|
assert!(mt.is_paused());
|
||||||
let mut keep_files = HashSet::with_capacity(
|
let mut keep_files = HashSet::with_capacity(
|
||||||
config.preload_max_filecount.unwrap_or_default(),
|
config.preload_max_filecount.unwrap_or_default(),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue