Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9312032
D940.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
449 B
Subscribers
None
D940.id.diff
View Options
diff --git a/swh/lister/core/indexing_lister.py b/swh/lister/core/indexing_lister.py
--- a/swh/lister/core/indexing_lister.py
+++ b/swh/lister/core/indexing_lister.py
@@ -103,7 +103,7 @@
declare approximately equal-sized ranges of existing
repos
"""
- n = self.db_num_entries()
+ n = max(self.db_num_entries(), 10)
partitions = []
partition_size = min(partition_size, n)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 2, 10:40 AM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220507
Attached To
D940: Fix SWHIndexingLister.db_partition_indices(); ensure partition size is not zero
Event Timeline
Log In to Comment