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

[MM-61914] remove usage of unused errorsChan in ltkeycloak command #871

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

fmartingr
Copy link
Contributor

Summary

Removed the errorsChan channel in the ltkeycloak command. The errors were being sent and logged, but the channel was never consumed, getting the command stuck if some errors appeared. In the feature branch we just increased the channel size to the number of users being imported but it's better to just remove it and allow regular logging to work this out.

Ticket Link

https://mattermost.atlassian.net/browse/MM-61914

@fmartingr fmartingr added the 2: Dev Review Requires review by a core committer label Dec 11, 2024
@fmartingr fmartingr self-assigned this Dec 11, 2024
Copy link
Member

@agnivade agnivade left a comment

Choose a reason for hiding this comment

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

Oops, nasty one.

Copy link
Member

@agarciamontoro agarciamontoro left a comment

Choose a reason for hiding this comment

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

Less channels is always better. Good catch!

@fmartingr fmartingr removed the 2: Dev Review Requires review by a core committer label Dec 12, 2024
@fmartingr fmartingr merged commit 82993ed into master Dec 12, 2024
1 check passed
@fmartingr fmartingr deleted the fix/ltkeycloak-errors-chan branch December 12, 2024 13:03
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.

3 participants