Skip to content

Commit

Permalink
Set active downloads/seeds to unlimited
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink committed Sep 13, 2024
1 parent 79a1509 commit 4935d6a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,10 @@ def create_session(self, hops: int = 0) -> lt.session: # noqa: PLR0915
"enable_upnp": int(self.config.get("libtorrent/upnp")),
"enable_dht": int(self.config.get("libtorrent/dht")),
"enable_lsd": int(self.config.get("libtorrent/lsd")),
"enable_natpmp": int(self.config.get("libtorrent/natpmp"))}
"enable_natpmp": int(self.config.get("libtorrent/natpmp")),
"active_downloads": -1,
"active_seeds": -1
}

# Copy construct so we don't modify the default list
extensions = list(DEFAULT_LT_EXTENSIONS)
Expand Down

0 comments on commit 4935d6a

Please sign in to comment.