Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MaxIdentities parameter #44

Merged
merged 1 commit into from
Aug 15, 2019
Merged

Add MaxIdentities parameter #44

merged 1 commit into from
Aug 15, 2019

Conversation

zurk
Copy link
Contributor

@zurk zurk commented Aug 13, 2019

Based on #42

If a connected component has more than MaxIdentities identities included It cannot be merged with other identities. However, I decided to not use this parameter when we match by external API and email because it is reliable. It is used when matching by name happens.

300 is a default value. I set it when I look at logging output. But we should set it to better value when @EgorBu is done with his experiments in #30

cmd/match-identities/main.go Outdated Show resolved Hide resolved
@zurk
Copy link
Contributor Author

zurk commented Aug 14, 2019

ok, I change it, but there is a test that fails on one of the golang versions. cannot reproduce locally, so it takes some time to debug...

cmd/match-identities/main.go Outdated Show resolved Hide resolved
cmd/match-identities/main.go Outdated Show resolved Hide resolved
matching.go Outdated Show resolved Hide resolved
matching.go Outdated Show resolved Hide resolved
Signed-off-by: Konstantin Slavnov <konstantin@sourced.tech>
@zurk zurk requested a review from vmarkovtsev August 15, 2019 09:45
@vmarkovtsev vmarkovtsev merged commit 071cc45 into src-d:master Aug 15, 2019
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.

None yet

2 participants