update comment

This commit is contained in:
yggverse 2025-09-06 11:53:09 +03:00
parent c9d11ee540
commit ff97bd4354

View file

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