mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[downloader/mp] Fix status message formatting for odd cache usage
This commit is contained in:
parent
b6cb31df8b
commit
21d62dcd76
|
@ -704,7 +704,7 @@ class DLManager(Process):
|
||||||
f'ETA: {hours:02d}:{minutes:02d}:{seconds:02d}')
|
f'ETA: {hours:02d}:{minutes:02d}:{seconds:02d}')
|
||||||
self.log.info(f' - Downloaded: {total_dl / 1024 / 1024:.02f} MiB, '
|
self.log.info(f' - Downloaded: {total_dl / 1024 / 1024:.02f} MiB, '
|
||||||
f'Written: {total_write / 1024 / 1024:.02f} MiB')
|
f'Written: {total_write / 1024 / 1024:.02f} MiB')
|
||||||
self.log.info(f' - Cache usage: {total_used} MiB, active tasks: {self.active_tasks}')
|
self.log.info(f' - Cache usage: {total_used:.02f} MiB, active tasks: {self.active_tasks}')
|
||||||
self.log.info(f' + Download\t- {dl_speed / 1024 / 1024:.02f} MiB/s (raw) '
|
self.log.info(f' + Download\t- {dl_speed / 1024 / 1024:.02f} MiB/s (raw) '
|
||||||
f'/ {dl_unc_speed / 1024 / 1024:.02f} MiB/s (decompressed)')
|
f'/ {dl_unc_speed / 1024 / 1024:.02f} MiB/s (decompressed)')
|
||||||
self.log.info(f' + Disk\t- {w_speed / 1024 / 1024:.02f} MiB/s (write) / '
|
self.log.info(f' + Disk\t- {w_speed / 1024 / 1024:.02f} MiB/s (write) / '
|
||||||
|
|
Loading…
Reference in a new issue