Skip to content

Conversation

AyanSinhaMahapatra
Copy link
Member

@AyanSinhaMahapatra AyanSinhaMahapatra commented Feb 13, 2023

We were iterating over license detections, which was taking forever to complete and this approach uses a dict/hashmap instead which fixes the issue here.

Reference: #3245
Signed-off-by: Ayan Sinha Mahapatra [email protected]
Reported-by: Philippe Ombredanne [email protected]

Fixes #3245

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁

We were iterating over license detections, which was taking forever
to complete and this approach uses a dict/hashmap instead which
fixes the issue here.

Reference: #3245
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
Reported-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks.

@AyanSinhaMahapatra AyanSinhaMahapatra merged commit 44ab276 into develop Feb 17, 2023
@AyanSinhaMahapatra AyanSinhaMahapatra deleted the 3245-lic-detection-stuck branch February 17, 2023 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

License Detection takes forever to complete

2 participants