Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123317
D7464.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
986 B
Subscribers
None
D7464.diff
View Options
diff --git a/swh/dataset/journalprocessor.py b/swh/dataset/journalprocessor.py
--- a/swh/dataset/journalprocessor.py
+++ b/swh/dataset/journalprocessor.py
@@ -255,7 +255,7 @@
tqdm.tqdm(
executor.map(fetch_insert_partition_id, partitions.keys()),
total=len(partitions),
- desc=" - Partition offsets",
+ desc=" - Offset",
)
)
client.close()
@@ -304,8 +304,8 @@
d = {}
active_workers = self.processes
offset_diff = sum((hi - lo) for lo, hi in self.offsets.values())
- desc = f" - Export ({self.obj_type})"
- with tqdm.tqdm(total=offset_diff, desc=desc) as pbar:
+ desc = " - Export"
+ with tqdm.tqdm(total=offset_diff, desc=desc, unit_scale=True) as pbar:
while active_workers:
item = queue.get()
if item is None:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 5:45 PM (2 h, 57 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221973
Attached To
D7464: Improve the progress reporting look and feel
Event Timeline
Log In to Comment