Skip to content

Commit

Permalink
Added Free Space logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed May 13, 2024
1 parent 7d12820 commit 0d0d6d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -4940,6 +4940,10 @@ def process_torrents(self):
"Current free space (pre parse): %s",
shutil.disk_usage(self.completed_folder).free,
)
self.logger.trace(
"Free space to hold: %s",
parse_size(self.min_free_space),
)
self.logger.trace("Current free space: %s", self.current_free_space)
sorted_torrents = sorted(torrents, key=lambda t: t["priority"])
for torrent in sorted_torrents:
Expand Down

0 comments on commit 0d0d6d1

Please sign in to comment.