mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
set session persistence as None
This commit is contained in:
parent
e9442334aa
commit
b68a5b3eda
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ async fn main() -> anyhow::Result<()> {
|
||||||
let session = librqbit::Session::new_with_opts(
|
let session = librqbit::Session::new_with_opts(
|
||||||
std::path::PathBuf::new(),
|
std::path::PathBuf::new(),
|
||||||
SessionOptions {
|
SessionOptions {
|
||||||
|
persistence: None,
|
||||||
disable_dht: !argument.enable_dht,
|
disable_dht: !argument.enable_dht,
|
||||||
disable_upload: !argument.enable_upload,
|
disable_upload: !argument.enable_upload,
|
||||||
enable_upnp_port_forwarding: argument.enable_upnp_port_forwarding,
|
enable_upnp_port_forwarding: argument.enable_upnp_port_forwarding,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue