Parallelize locode DB generation #309

Merged
fyrchik merged 2 commits from fyrchik/frostfs-node:optimize-locode into master 2023-05-12 09:59:15 +00:00
Owner
No description provided.
fyrchik force-pushed optimize-locode from cc6d85828d to c6ef54761f 2023-05-03 13:27:41 +00:00 Compare
fyrchik force-pushed optimize-locode from c6ef54761f to c13d395029 2023-05-03 13:28:18 +00:00 Compare
fyrchik force-pushed optimize-locode from c13d395029 to ab2393577c 2023-05-04 08:04:26 +00:00 Compare
fyrchik force-pushed optimize-locode from ab2393577c to ce4d6f88da 2023-05-04 08:08:11 +00:00 Compare
fyrchik force-pushed optimize-locode from ce4d6f88da to cbb9765ee1 2023-05-04 14:00:53 +00:00 Compare
carpawell approved these changes 2023-05-04 14:16:28 +00:00
@ -78,2 +79,2 @@
return table.IterateAll(func(tableRecord locode.Record) error {
if tableRecord.LOCODE.LocationCode() == "" {
var errG errgroup.Group
errG.SetLimit(128)
Contributor

magic?

magic?
Author
Owner

It was a wild guess. We cannot pick optimal value "for all", just pick a sane default. Added a comment.

It was a wild guess. We cannot pick optimal value "for all", just pick a sane default. Added a comment.
fyrchik force-pushed optimize-locode from cbb9765ee1 to 1980631821 2023-05-05 07:30:25 +00:00 Compare
fyrchik force-pushed optimize-locode from 1980631821 to e74751d204 2023-05-05 07:35:49 +00:00 Compare
carpawell approved these changes 2023-05-05 11:24:55 +00:00
acid-ant approved these changes 2023-05-12 09:47:20 +00:00
fyrchik merged commit 02c02974b3 into master 2023-05-12 09:59:15 +00:00
fyrchik deleted branch optimize-locode 2023-05-12 09:59:15 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#309
No description provided.