mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
update comment
This commit is contained in:
parent
c9d11ee540
commit
ff97bd4354
1 changed files with 2 additions and 2 deletions
|
|
@ -46,8 +46,8 @@ async fn main() -> Result<()> {
|
||||||
// Please, note:
|
// Please, note:
|
||||||
// * it's important to start new `Session` inside the crawler loop:
|
// * it's important to start new `Session` inside the crawler loop:
|
||||||
// https://github.com/ikatson/rqbit/issues/481
|
// https://github.com/ikatson/rqbit/issues/481
|
||||||
// * on fix and starting it once (outside),
|
// * when fix and after starting it once (outside the loop),
|
||||||
// remove each torrent after resolve with `session.delete`, to prevent impl panic
|
// remove also each torrent after resolve it with `session.delete`, to prevent impl panic (see `single-session` branch)
|
||||||
let session = Session::new_with_opts(
|
let session = Session::new_with_opts(
|
||||||
preload.root().clone(),
|
preload.root().clone(),
|
||||||
SessionOptions {
|
SessionOptions {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue